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

Retrieve the version from script on publish #720

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Jan 23, 2024

The workflow variable github.ref_name contains the tag name, which is in the form of v*... In the rpm spec file, however, we expect the format ..*. Therefore, lets change the format in the github workflow by using the string returned from the version script, e.g. 0.8.0

@engelmi
Copy link
Member Author

engelmi commented Jan 23, 2024

There is a new selinux version, triggered building the new base container: https://github.com/eclipse-bluechi/bluechi/actions/runs/7624855831

The workflow variable github.ref_name contains the tag
name, which is in the form of v*.*.*. In the rpm spec
file, however, we expect the format *.*.*. Therefore,
lets change the format in the github workflow by using
the string returned from the version script, e.g. 0.8.0

Signed-off-by: Michael Engel <mengel@redhat.com>
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

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

LGTM

@engelmi engelmi merged commit b54fb6a into eclipse-bluechi:main Jan 23, 2024
18 checks passed
@engelmi engelmi deleted the improve-publish-workflow branch February 28, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants