Skip to content

Commit

Permalink
Update create-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tow3rs authored Sep 4, 2023
1 parent f22592f commit ccbf6ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:

- name: Get version
id: version
run: echo "version=$(cat version)" >> $GITHUB_OUTPUT
run: echo "version=$(cat version)" >> "$GITHUB_OUTPUT"

- name: Check tags
id: check-tag
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
git show-ref --tags --verify --quiet -- "refs/tags/v${{ steps.version.outputs.version }}" && echo "exists_release=true" >> $GITHUB_OUTPUT || echo "exists_release=false" >> $GITHUB_OUTPUT
git show-ref --tags --verify --quiet -- "refs/tags/v${{ steps.version.outputs.version }}" && echo "exists_release=true" >> "$GITHUB_OUTPUT" || echo "exists_release=false" >> "$GITHUB_OUTPUT"
create-release:
name: Create release
Expand All @@ -40,7 +40,7 @@ jobs:

- name: Get date
id: date
run: echo "date=$(date +'%Y.%m.%d')" >> $GITHUB_OUTPUT
run: echo "date=$(date +'%Y.%m.%d')" >> "$GITHUB_OUTPUT"

- name: Create release
id: release
Expand All @@ -51,7 +51,7 @@ jobs:
tag_name: v${{ needs.check-release.outputs.version }}
release_name: Release ${{ needs.check-release.outputs.version }} (${{ steps.date.outputs.date }})
draft: false
prerelease: false
prerelease: false

build-linux:
name: Build and upload Linux release
Expand Down

0 comments on commit ccbf6ae

Please sign in to comment.