Skip to content

Commit

Permalink
fix: use tag as release title
Browse files Browse the repository at this point in the history
otherwise it defaults to the last commit title, which might be misleading.
  • Loading branch information
boredland authored Jul 24, 2021
1 parent 92cac9b commit 8ff20bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ runs:
echo "## github upload"
echo ${{ github.token }} | gh auth login --with-token
gh release create ${{ inputs.release-tag }} --repo ${{ github.repository }} --notes "automated release" || echo "release already exists"
gh release create ${{ inputs.release-tag }} --title ${{ inputs.release-tag }} --repo ${{ github.repository }} --notes "automated release" || echo "release already exists"
GITHUB_LINK=https://github.com/${GITHUB_REPOSITORY}/releases/download/${{ inputs.release-tag }}
Expand All @@ -365,4 +365,4 @@ runs:
gh release upload ${{ inputs.release-tag }} --repo ${{ github.repository }} --clobber \
./${{ steps.image-build.outputs.file-path }}+(.z*|.sha*|.pkgs|.sig|.torrent)
fi
fi

0 comments on commit 8ff20bb

Please sign in to comment.