-
Notifications
You must be signed in to change notification settings - Fork 7
feat: check version match #1111
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
base: main
Are you sure you want to change the base?
Conversation
| ARTIFACT_VERSION="$(basename "${ARTIFACT_FILE}" \ | ||
| | sed -E 's/^[^-]+-([0-9][0-9A-Za-z\.\-_]*).*/\1/')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might have to revisit this regex... I might be wrong but it's giving me some issues when I try it out
| name: ${{ inputs.library-name }}-artifacts | ||
| path: ${{ inputs.library-name }}-artifacts | ||
|
|
||
| - name: "Verify tag and artifacts version agree" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - name: "Verify tag and artifacts version agree" | |
| - name: "Verify tag and artifacts version match" |
SMoraisAnsys
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR @jorgepiloto, I think that the current version extraction is not working. Can you update it ? Trying it on the proposed example (ansys-project-1.2.3-py3-none-any.whl) does behave as I would expect.
Fix #671 by making sure artifacts version matches the git tag that triggered a release.