Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
AleDore committed Mar 1, 2024
1 parent ea0a5d2 commit cc52cf6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
if [ -z "${RELEASE_VERSION}" ]; then
NEW_VERSION_NAME="0.0.1"
NEW_VERSION="0.0.1"
else
OLD_VERSION=$(echo "${RELEASE_VERSION}")
Expand All @@ -64,10 +64,15 @@ jobs:
- name: Create Repository Release
run: |
gh release create ${{ env.NEW_VERSION }} \
--title ${{ env.NEW_VERSION }} \
--generate-notes \
--notes-start-tag ${{ env.OLD_VERSION }}
if [ -z "${OLD_VERSION}" ]; then
gh release create ${{ env.NEW_VERSION }} \
--title ${{ env.NEW_VERSION }}
else
gh release create ${{ env.NEW_VERSION }} \
--title ${{ env.NEW_VERSION }} \
--generate-notes \
--notes-start-tag ${{ env.OLD_VERSION }}
fi
- name: Setup Docker buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
Expand Down

0 comments on commit cc52cf6

Please sign in to comment.