Update .gitea/workflows/release.yaml
This commit is contained in:
@@ -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}}'
|
||||
|
||||
Reference in New Issue
Block a user