forked from platypush/platypush
[CI/CD] Fixed version format for the platypush-git
Arch package.
The format should be `<MAJ>.<MIN>.<PATCH>.r<REVISION>.g<HEAD>`. The `g` prefix was missing.
This commit is contained in:
parent
aceb9b940a
commit
a5b7e2b52e
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ steps:
|
||||||
- git pull --rebase origin master --tags
|
- git pull --rebase origin master --tags
|
||||||
- export VERSION=$(python setup.py --version)
|
- export VERSION=$(python setup.py --version)
|
||||||
- export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1 | head -1)
|
- export HEAD=$(git log --pretty=format:%h HEAD...HEAD~1 | head -1)
|
||||||
- export GIT_VERSION="$VERSION.r$(git log --pretty=oneline HEAD...v$VERSION | wc -l).$HEAD"
|
- export GIT_VERSION="$VERSION.r$(git log --pretty=oneline HEAD...v$VERSION | wc -l).g$${HEAD}"
|
||||||
- export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"
|
- export TAG_URL="https://git.platypush.tech/platypush/platypush/archive/v$VERSION.tar.gz"
|
||||||
|
|
||||||
- echo "--- Preparing environment"
|
- echo "--- Preparing environment"
|
||||||
|
|
Loading…
Reference in a new issue