Skip to content

v0.3.0-2-26

Pre-release
Pre-release
Compare
Choose a tag to compare
@dymurray dymurray released this 26 Feb 18:45
· 22 commits to release-0.3 since this release
ea93903
[BACKPORT] Add version  (#161)

* 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 <[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 github build (#156)

Fix version variables evaluation in build

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

Follow-up to https://github.com/konveyor/kantra/pull/154

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]>