Skip to content

Commit

Permalink
Merge pull request #117 from cybozu-go/fix
Browse files Browse the repository at this point in the history
actions: fix release.yaml
  • Loading branch information
ymmt2005 authored Oct 5, 2020
2 parents da6152a + a3f9eec commit 3275baf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ jobs:
- name: Setup variables
id: vars
run: |
if echo ${{ github.ref }} | grep -q "-"; then PRERELEASE=true; else PRERELEASE=false; fi
echo "::set-output name=prerelease::${PRERELEASE}"
if test -n "$(echo ${{ github.ref }} | grep -e -)"; then
echo "::set-output name=prerelease::true"
else
echo "::set-output name=prerelease::false"
fi
- uses: actions/checkout@v2
- name: Create release
id: create_release
Expand Down

0 comments on commit 3275baf

Please sign in to comment.