kopia lustrzana https://github.com/weetmuts/wmbusmeters
Work on release process.
rodzic
ad7ace4918
commit
e26ada4957
|
@ -35,8 +35,8 @@ parts:
|
||||||
source-type: git
|
source-type: git
|
||||||
override-pull: |
|
override-pull: |
|
||||||
craftctl default
|
craftctl default
|
||||||
if [ -n "$(git describe --tags | grep -)" ]; then
|
if [ -n "$(git describe --tags | grep -E -- '-[^-RC]+$')" ]; then
|
||||||
GIT_REV="$(git describe --tags | cut -f1,2 -d'-')"
|
GIT_REV="$(git describe --tags | rev | cut -f2- -d'-' | rev)"
|
||||||
craftctl set version="$GIT_REV"
|
craftctl set version="$GIT_REV"
|
||||||
craftctl set grade=devel
|
craftctl set grade=devel
|
||||||
else
|
else
|
||||||
|
|
Ładowanie…
Reference in New Issue