Update .gitea/workflows/release.yaml

This commit is contained in:
2024-03-16 09:49:40 +01:00
parent 3abfeac5e9
commit 581ecabdda

View File

@@ -18,12 +18,12 @@ jobs:
with:
go-version: '>=1.20.1'
- run: cd YouTubeMusic && zip -r YouTubeMusic.zip . && mv YouTubeMusic.zip ../
- run: sha1sum YouTubeMusic.zip > YouTubeMusic.sha
- run: sha1=$(sha1sum YouTubeMusic.zip) | cut -d ' ' -f1) && sed -i "s|<sha></sha>|<sha>$sha1</sha>|" repo.xml
- name: Release
uses: https://gitea.com/actions/release-action@main
with:
tag_name: 0.0.1
files: |-
YouTubeMusic.zip
YouTubeMusic.sha
repo.xml
api_key: '${{secrets.RELEASE_TOKEN}}'