ref name
This commit is contained in:
parent
f0a992f2a5
commit
791297e760
1 changed files with 2 additions and 2 deletions
|
|
@ -125,8 +125,8 @@ jobs:
|
|||
- name: Set VERSION from tag or fallback
|
||||
id: version
|
||||
run: |
|
||||
if [ -n "${CI_COMMIT_TAG}" ]; then # Use CI_COMMIT_TAG for Forgejo
|
||||
echo "tag=${CI_COMMIT_TAG}" >> "$GITHUB_OUTPUT"
|
||||
if [ -n "${GITHUB_REF_NAME}" ];
|
||||
echo "tag=${GITHUB_REF_NAME}" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "tag=dev-$(date +%s)" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue