File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -604,8 +604,8 @@ jobs:
604604
605605 - name : Compress to Zip Files
606606 run : |
607- mkdir v2raya-x86_64-linux; cp Downloads/v2raya_linux_amd64_ ${{ steps.prep.outputs.VERSION }} v2raya-x86_64-linux/v2raya
608- mkdir v2raya-x86_64-macos; cp Downloads/v2raya_darwin_amd64_ ${{ steps.prep.outputs.VERSION }} v2raya-x86_64-macos/v2raya
607+ mkdir v2raya-x86_64-linux; cp Downloads/v2raya_linux_x64_ ${{ steps.prep.outputs.VERSION }}v2raya-x86_64-linux/v2raya
608+ mkdir v2raya-x86_64-macos; cp Downloads/v2raya_darwin_x64_ ${{ steps.prep.outputs.VERSION }} v2raya-x86_64-macos/v2raya
609609 mkdir v2raya-aarch64-macos; cp Downloads/v2raya_darwin_arm64_${{ steps.prep.outputs.VERSION }} v2raya-aarch64-macos/v2raya
610610 zip -r9 v2raya-x86_64-linux.zip ./v2raya-x86_64-linux/*
611611 zip -r9 v2raya-x86_64-macos.zip ./v2raya-x86_64-macos/*
@@ -619,7 +619,8 @@ jobs:
619619 GITHUB_TOKEN : ${{ secrets.HOMEBREW_V2RAYA_TOKEN }}
620620 run : |
621621 tag_version=$(echo $VERSION | sed 's/v//g')
622- gh release create $tag_version --repo v2rayA/homebrew-v2raya --title "Releases $version" --generate-notes
623- gh upload v2rayA/homebrew-v2raya --clobber --repo v2rayA/homebrew-v2raya v2raya-x86_64-linux.zip v2raya-x86_64-linux.zip.sha256.txt
624- gh upload v2rayA/homebrew-v2raya --clobber --repo v2rayA/homebrew-v2raya v2raya-x86_64-macos.zip v2raya-x86_64-macos.zip.sha256.txt
625- gh upload v2rayA/homebrew-v2raya --clobber --repo v2rayA/homebrew-v2raya v2raya-aarch64-macos.zip v2raya-aarch64-macos.zip.sha256.txt
622+ gh release create $tag_version --repo v2rayA/homebrew-v2raya --title "Releases $VERSION" --generate-notes
623+ gh release upload $tag_version --repo v2rayA/homebrew-v2raya v2raya-x86_64-linux.zip v2raya-x86_64-linux.zip.sha256.txt \
624+ v2raya-x86_64-macos.zip v2raya-x86_64-macos.zip.sha256.txt \
625+ v2raya-aarch64-macos.zip v2raya-aarch64-macos.zip.sha256.txt
626+
You can’t perform that action at this time.
0 commit comments