.packit.yaml: implement version fallback until we have a tag
This commit is contained in:
parent
9b737c1949
commit
7e181e30c9
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ srpm_build_deps:
|
|||
- golang
|
||||
|
||||
actions:
|
||||
get-current-version: bash -c "git describe --tags --abbrev=0 | sed 's|v||' && echo 1"
|
||||
# v1 just the default prior to having tags
|
||||
get-current-version: bash -c "( git describe --tags --abbrev=0 2>/dev/null || echo v1 ) | sed 's|v||'"
|
||||
post-upstream-clone: bash -c "go mod vendor || ./tools/rpm_spec_add_provides_bundle.sh"
|
||||
create-archive: bash -c "make release_artifacts"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue