mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00
[CD] flathub publish wrong path error fix/debug
This commit is contained in:
parent
28860d0033
commit
d4706356e2
15
.github/workflows/release-build.yml
vendored
15
.github/workflows/release-build.yml
vendored
@ -167,11 +167,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
strip_v: true
|
strip_v: true
|
||||||
# generating checksums for all the binary
|
# generating checksums for all the binary
|
||||||
- run: sudo apt-get install tree -y
|
|
||||||
- run: tree .
|
|
||||||
- run: |
|
- run: |
|
||||||
md5sum ./Spotube-Macos-Bundle/*.dmg > RELEASE.md5sum
|
|
||||||
md5sum ./Spotube-Windows-Bundle/*.{exe,nupkg} > RELEASE.md5sum
|
md5sum ./Spotube-Windows-Bundle/*.{exe,nupkg} > RELEASE.md5sum
|
||||||
|
md5sum ./Spotube-Macos-Bundle/*.dmg > RELEASE.md5sum
|
||||||
md5sum ./Spotube-Linux-Bundle/*.{AppImage,tar.xz,deb} > RELEASE.md5sum
|
md5sum ./Spotube-Linux-Bundle/*.{AppImage,tar.xz,deb} > RELEASE.md5sum
|
||||||
sha256sum ./Spotube-Macos-Bundle/*.dmg > RELEASE.sha256sum
|
sha256sum ./Spotube-Macos-Bundle/*.dmg > RELEASE.sha256sum
|
||||||
sha256sum ./Spotube-Windows-Bundle/*.{exe,nupkg} > RELEASE.sha256sum
|
sha256sum ./Spotube-Windows-Bundle/*.{exe,nupkg} > RELEASE.sha256sum
|
||||||
@ -186,7 +184,7 @@ jobs:
|
|||||||
omitNameDuringUpdate: true
|
omitNameDuringUpdate: true
|
||||||
omitPrereleaseDuringUpdate: true
|
omitPrereleaseDuringUpdate: true
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
artifacts: Spotube-Windows-Bundle/dist/${{ steps.tag.outputs.tag }}/*,Spotube-Macos-Bundle/*,Spotube-Linux-Bundle/dist/${{ steps.tag.outputs.tag }}/*,RELEASE.sha256sum,RELEASE.md5sum
|
artifacts: Spotube-Windows-Bundle/*,Spotube-Macos-Bundle/*,Spotube-Linux-Bundle/*,RELEASE.sha256sum,RELEASE.md5sum
|
||||||
|
|
||||||
# publish_winget:
|
# publish_winget:
|
||||||
# needs: update_release
|
# needs: update_release
|
||||||
@ -206,20 +204,23 @@ jobs:
|
|||||||
needs: update_release
|
needs: update_release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
path: spotube
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: flathub/com.github.KRTirtho.Spotube
|
repository: flathub/com.github.KRTirtho.Spotube
|
||||||
token: ${{ secrets.FLATHUB_TOKEN }}
|
token: ${{ secrets.FLATHUB_TOKEN }}
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
path: spotube
|
||||||
- name: Get latest tag
|
- name: Get latest tag
|
||||||
id: tag
|
id: tag
|
||||||
uses: dawidd6/action-get-tag@v1
|
uses: dawidd6/action-get-tag@v1
|
||||||
with:
|
with:
|
||||||
strip_v: true
|
strip_v: true
|
||||||
|
- run: sudo apt-get tree -y
|
||||||
|
- run: tree .
|
||||||
- run: |
|
- run: |
|
||||||
python3 spotube/scripts/update_flathub_version.py ${{ steps.tag.outputs.tag }}
|
python3 spotube/scripts/update_flathub_version.py ${{ steps.tag.outputs.tag }}
|
||||||
|
- run: cat com.github.KRTirtho.Spotube.yml
|
||||||
- uses: EndBug/add-and-commit@v9
|
- uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
message: v${{ steps.tag.outputs.tag }} Update
|
message: v${{ steps.tag.outputs.tag }} Update
|
||||||
|
Loading…
Reference in New Issue
Block a user