Skip to content

Commit

Permalink
Update trigger-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleplus committed Mar 1, 2025
1 parent 8389c71 commit 25cf7dd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/trigger-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
VERSION="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/\-[A-Za-z][A-Za-z0-9]*@.*$//; s/^.*://;')"
if [[ "${VERSION}" =~ ^[0-9]+\.[0-9]\.[0-9]+$ ]] ; then
\echo "VERSION=${VERSION}" >> "${GITHUB_ENV}"
fi
if [[ "${VERSION}" =~ ^[0-9]+\.[0-9]+$ ]] ; then
elif [[ "${VERSION}" =~ ^[0-9]+\.[0-9]+$ ]] ; then
\echo "VERSION=${VERSION}.0" >> "${GITHUB_ENV}"
fi
- name: Check if release already exists
Expand Down

0 comments on commit 25cf7dd

Please sign in to comment.