Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare against both base-version and base@version #12433

Closed
wants to merge 1 commit into from

Conversation

owanturist
Copy link
Contributor

@owanturist owanturist commented Oct 30, 2024

Summary

I am investigating the possibility of integrating https://github.com/semantic-release/semantic-release tool to automate versioning of https://github.com/StackVista/rancher-extension-stackstate and for that matter I wish I can use changeset tag command but the caveat is that it formats the tag as name@version and not name-version as required by the workflow.

I'd like to propose a change to match both tag formats, it should not hurt to have them simultaneously.

Occurred changes and/or fixed issues

Technical notes summary

Areas or cases that should be tested

Areas which could experience regressions

Screenshot/Video

Checklist

  • The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
  • The PR has a Milestone
  • The PR template has been filled out
  • The PR has been self reviewed
  • The PR has a reviewer assigned
  • The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
  • The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes

@@ -6,10 +6,10 @@ GITHUB_WORKFLOW_TYPE=$3

# Ensure "catalog" workflow release tag name does not match a pkg/<pkg-name>
if [[ "${GITHUB_WORKFLOW_TYPE}" == "catalog" ]]; then
for d in pkg/*/ ; do
for d in pkg/*/; do
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the deleted whitespace is result of shell-format run

pkg=$(basename $d)

PKG_VERSION=$(jq -r .version pkg/${pkg}/package.json)
PKG_VERSION=$(jq -r .version pkg/${pkg}/package.json) || exit 1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

chatgpt suggested that change to verify that jq returns something

@gaktive gaktive requested a review from jordojordo November 1, 2024 16:15
@jordojordo jordojordo added area/extensions shell PRs/Issues that relate to a shell release rather than being needed for a dashboard release labels Nov 4, 2024
@jordojordo jordojordo added this to the v2.10.1 milestone Nov 4, 2024
@owanturist
Copy link
Contributor Author

Not needed anymore StackVista/rancher-extension-stackstate#41 (comment)

@owanturist owanturist closed this Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/extensions shell PRs/Issues that relate to a shell release rather than being needed for a dashboard release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants