mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-06-23 16:54:47 +03:00
include commit hash in pre-release (#456)
this solves the "create new release" issue as well as tag conflicts with branch name
This commit is contained in:
committed by
GitHub
parent
1b53e58ba9
commit
02ac0bf220
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -179,8 +179,8 @@ jobs:
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag_name: ${{ github.event.inputs.name || github.ref_name }}
|
||||
name: ${{ github.event.inputs.name || github.ref_name }}
|
||||
tag_name: ${{ format('{0}-{1}', github.event.inputs.name || github.ref_name, substring(github.sha, 0, 7)) }}
|
||||
name: ${{ format('{0}-{1}', github.event.inputs.name || github.ref_name, substring(github.sha, 0, 7)) }}
|
||||
prerelease: true
|
||||
generate_release_notes: true
|
||||
files: |
|
||||
|
||||
Reference in New Issue
Block a user