Skip to content

Commit f71852f

Browse files
authored
Update test-docker-image.yml
1 parent b86b8ee commit f71852f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ jobs:
3434
password: ${{ secrets.HUB_PWD }}
3535
-
3636
name: Generate App Version
37-
run: echo APP_VERSION=`git describe --tags --abbrev=0`-muti >> $GITHUB_ENV
37+
run: echo APP_VERSION=`git tag --sort=-v:refname | head -n 1`-muti >> $GITHUB_ENV
3838
- name: Print APP_VERSION
3939
run: echo "APP_VERSION=$APP_VERSION"

0 commit comments

Comments
 (0)