Skip to content

Commit

Permalink
action: update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
limitcool committed Jan 9, 2024
1 parent 4016a43 commit 9114323
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 186 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,11 @@ jobs:
# cp LICENSE README.md tmp/$pkgname
mv bins-$platform/$BIN_NAME$exe tmp/$pkgname
chmod +x tmp/$pkgname/$BIN_NAME$exe
mv tmp/$pkgname/$BIN_NAME$exe dist/
# if [ "$exe" = "" ]; then
# tar cJf dist/$pkgname.tar.xz -C tmp $pkgname
# else
# (cd tmp && 7z a -r ../dist/$pkgname.zip $pkgname)
# fi
if [ "$exe" = "" ]; then
tar cJf dist/$pkgname.tar.xz -C tmp $pkgname
else
(cd tmp && 7z a -r ../dist/$pkgname.zip $pkgname)
fi
done
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
Expand All @@ -177,4 +176,4 @@ jobs:
- name: Extract version
id: extract-version
run: |
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
printf "::set-output name=%s::%s\n" tag-name "${GITHUB_REF#refs/tags/}"
179 changes: 0 additions & 179 deletions workflows/release.yaml

This file was deleted.

0 comments on commit 9114323

Please sign in to comment.