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

Fix version variables evaluation in github build #156

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

aufi
Copy link
Member

@aufi aufi commented Feb 16, 2024

Using github variables to provide version and commit sha variables for build.

Follow-up to #154

Using github variables to provide version and commit sha variables for
build.

Follow-up to konveyor#154

Signed-off-by: Marek Aufart <maufart@redhat.com>
@aufi
Copy link
Member Author

aufi commented Feb 16, 2024

@eemcmullan @djzager Sorry for complications, missed not evaluating variables in github build process.

@djzager djzager merged commit 30d13f8 into konveyor:main Feb 16, 2024
2 checks passed
@aufi
Copy link
Member Author

aufi commented Feb 16, 2024

Works now, thanks 👍

@aufi aufi added the cherry-pick/release-0.3 This PR should be cherry-picked to release-0.3 branch. label Feb 19, 2024
aufi added a commit to aufi/kantra that referenced this pull request Feb 21, 2024
Fix version variables evaluation in build

Using github variables to provide version and commit sha variables for
build.

Follow-up to konveyor#154

Signed-off-by: Marek Aufart <maufart@redhat.com>
@aufi aufi mentioned this pull request Feb 21, 2024
aufi added a commit that referenced this pull request Feb 21, 2024
* Add version (#154)

* Add version command

Adding tool version to CLI that should return version number and commit
hash. Usage: `kantra version`.

Fixes: https://issues.redhat.com/browse/MTA-2201

Signed-off-by: Marek Aufart <maufart@redhat.com>

* Update build flags

Signed-off-by: Marek Aufart <maufart@redhat.com>

* Update build scripts

Signed-off-by: Marek Aufart <maufart@redhat.com>

* Try fix buildah cmd

Signed-off-by: Marek Aufart <maufart@redhat.com>

* Set buildcommit before

Signed-off-by: Marek Aufart <maufart@redhat.com>

* Update cmd/version.go

Co-authored-by: David Zager <dzager@redhat.com>
Signed-off-by: Marek Aufart <aufi.cz@gmail.com>

---------

Signed-off-by: Marek Aufart <maufart@redhat.com>
Signed-off-by: Marek Aufart <aufi.cz@gmail.com>
Co-authored-by: David Zager <dzager@redhat.com>

* Fix version variables evaluation in github build (#156)

Fix version variables evaluation in build

Using github variables to provide version and commit sha variables for
build.

Follow-up to #154

Signed-off-by: Marek Aufart <maufart@redhat.com>

---------

Signed-off-by: Marek Aufart <maufart@redhat.com>
Signed-off-by: Marek Aufart <aufi.cz@gmail.com>
Co-authored-by: David Zager <dzager@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick/release-0.3 This PR should be cherry-picked to release-0.3 branch.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants