Fix tag fetch in pipeline
This commit is contained in:
@@ -43,8 +43,8 @@ jobs:
|
||||
|
||||
- name: Create Release
|
||||
run: |
|
||||
# Fetch all tags from remote
|
||||
git fetch --tags origin
|
||||
# Fetch the specific tag from remote
|
||||
git fetch origin tag v0.2.0 --force
|
||||
|
||||
# Get tag name from git
|
||||
TAG_NAME=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
|
||||
|
||||
Reference in New Issue
Block a user