mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
fixed package name for exe
changed tag param for github-release update action
This commit is contained in:
parent
6ce0af434e
commit
5da2184183
6
.github/workflows/release-build.yml
vendored
6
.github/workflows/release-build.yml
vendored
@ -42,20 +42,20 @@ jobs:
|
|||||||
# Create Chocolatey Package
|
# Create Chocolatey Package
|
||||||
# setting the sha256 hash for new bundle
|
# setting the sha256 hash for new bundle
|
||||||
- run: |
|
- run: |
|
||||||
Set-Variable -Name HASH -Value (Get-FileHash dist\${{ steps.tag.outputs.tag }}\spotube-${{ steps.tag.outputs.tag }}-windows.exe).Hash
|
Set-Variable -Name HASH -Value (Get-FileHash dist\${{ steps.tag.outputs.tag }}\spotube-${{ steps.tag.outputs.tag }}+${{ steps.tag.outputs.tag }}-windows.exe).Hash
|
||||||
sed -i "s/%{{WIN_SHA256}}%/$HASH/" choco-struct/tools/VERIFICATION.txt
|
sed -i "s/%{{WIN_SHA256}}%/$HASH/" choco-struct/tools/VERIFICATION.txt
|
||||||
make VERSION=${{ steps.tag.outputs.tag }} choco
|
make VERSION=${{ steps.tag.outputs.tag }} choco
|
||||||
|
|
||||||
# Rename the artifacts
|
# Rename the artifacts
|
||||||
- run: |
|
- run: |
|
||||||
Rename-Item -Path dist/${{ steps.tag.outputs.tag }}/spotube.${{ steps.tag.outputs.tag }}.nupkg -NewName Spotube-windows-x86_64.nupkg
|
Rename-Item -Path dist/${{ steps.tag.outputs.tag }}/spotube.${{ steps.tag.outputs.tag }}.nupkg -NewName Spotube-windows-x86_64.nupkg
|
||||||
Rename-Item -Path dist/${{ steps.tag.outputs.tag }}/spotube-${{ steps.tag.outputs.tag }}-windows.exe Spotube-windows-x86_64-setup.exe
|
Rename-Item -Path dist/${{ steps.tag.outputs.tag }}/spotube-${{ steps.tag.outputs.tag }}+${{ steps.tag.outputs.tag }}-windows.exe Spotube-windows-x86_64-setup.exe
|
||||||
|
|
||||||
# Upload release binary
|
# Upload release binary
|
||||||
- uses: meeDamian/github-release@2.0
|
- uses: meeDamian/github-release@2.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
tag: ${{ github.event.release.tag_name }}
|
tag: v${{ steps.tag.outputs.tag }}
|
||||||
files: dist/${{ steps.tag.outputs.tag }}
|
files: dist/${{ steps.tag.outputs.tag }}
|
||||||
|
|
||||||
# Publish to Chocolatey Repository
|
# Publish to Chocolatey Repository
|
||||||
|
Loading…
Reference in New Issue
Block a user