mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
Update auto_release.yml
This commit is contained in:
parent
0ff1f40dbb
commit
f7fdf1a0eb
2
.github/workflows/auto_release.yml
vendored
2
.github/workflows/auto_release.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
- name: Get Previous Tag and Build Number
|
- name: Get Previous Tag and Build Number
|
||||||
id: build_number
|
id: build_number
|
||||||
run: |
|
run: |
|
||||||
LATEST_TAG=$(git describe --tags --match "${{ matrix.folder }}-*" 2>/dev/null)
|
LATEST_TAG=$(git describe --tags --abbrev=0 --match "${{ matrix.folder }}-*" 2>/dev/null)
|
||||||
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
|
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV
|
||||||
|
|
||||||
if [[ -n "$LATEST_TAG" ]]; then
|
if [[ -n "$LATEST_TAG" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue