action-gh-release icon indicating copy to clipboard operation
action-gh-release copied to clipboard

feat: allow renaming of files using ":" and update documentation to match

Open brendan-davidson opened this issue 2 years ago • 3 comments

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 

brendan-davidson avatar May 23 '23 19:05 brendan-davidson

👍🏾 useful

nicoandmee avatar May 24 '23 19:05 nicoandmee

I guess this action isn't maintained anymore. Need to check for an alternative then which provides such a feature.

dtrunk90 avatar Feb 03 '24 13:02 dtrunk90

@brendan-davidson can you fix the merge conflicts? Thanks!

chenrui333 avatar Jul 17 '24 18:07 chenrui333