Skip to content

Commit a0b14b3

Browse files
committed
Try to fix action.
1 parent ef60eca commit a0b14b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
export TARGET=$(. /etc/lsb-release && echo $DISTRIB_CODENAME)
3232
git fetch --unshallow
3333
git fetch --tags
34-
VERSION="$(git describe --tags --always | sed -e "s/^v//" -e "s/-/+git/")"
34+
VERSION="$(git tag -l | tail -n1 | sed -e "s/^v//" -e "s/-/+git/")"
3535
dch --create \
3636
--distribution ${TARGET} \
3737
--package qgcoder \
@@ -47,7 +47,7 @@ jobs:
4747
git clone https://github.com/QGCoder/libqgcodeeditor
4848
pushd libqgcodeeditor
4949
export TARGET=$(. /etc/lsb-release && echo $DISTRIB_CODENAME)
50-
VERSION="$(git describe --tags --always | sed -e "s/^v//" -e "s/-/+git/")"
50+
VERSION="$(git tag -l | tail -n1 | sed -e "s/^v//" -e "s/-/+git/")"
5151
dch --create \
5252
--distribution ${TARGET} \
5353
--package libqgcodeeditor \

0 commit comments

Comments
 (0)