action-gh-release
action-gh-release copied to clipboard
feat: allow renaming of files using ":" and update documentation to match
It is nice to be able to upload a renamed version to a GitHub release, and was functionality that actions/upload-release-asset had using the asset_name input. This will do a filename translation before an upload if the : is included in the name. Example usage
with:
token: ${{ secrets.TOKEN }}
tag_name: ${{ env.VERSION }}
name: Release ${{ env.VERSION }}
target_commitish: ${{ github.sha }}
files: ${{ env.NAME }}.zip:dist-${{ env.VERSION }}.zip
👍🏾 useful
I guess this action isn't maintained anymore. Need to check for an alternative then which provides such a feature.
@brendan-davidson can you fix the merge conflicts? Thanks!