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

[BACKPORT] Add version #161

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Conversation

aufi
Copy link
Member

@aufi aufi commented Feb 21, 2024

0.3 backport of #154 and #156

aufi and others added 2 commits February 21, 2024 13:39
* 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 <[email protected]>

* Update build flags

Signed-off-by: Marek Aufart <[email protected]>

* Update build scripts

Signed-off-by: Marek Aufart <[email protected]>

* Try fix buildah cmd

Signed-off-by: Marek Aufart <[email protected]>

* Set buildcommit before

Signed-off-by: Marek Aufart <[email protected]>

* Update cmd/version.go

Co-authored-by: David Zager <[email protected]>
Signed-off-by: Marek Aufart <[email protected]>

---------

Signed-off-by: Marek Aufart <[email protected]>
Signed-off-by: Marek Aufart <[email protected]>
Co-authored-by: David Zager <[email protected]>
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 <[email protected]>
@aufi aufi merged commit ea93903 into konveyor:release-0.3 Feb 21, 2024
2 checks passed
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