mirror of https://github.com/2dust/v2rayN
parent
a0d4a3f2e8
commit
4c4ce7e8d1
|
@ -60,14 +60,6 @@ jobs:
|
|||
tag: ${{ github.event.inputs.release_tag }}
|
||||
file_glob: true
|
||||
|
||||
- name: Upload sha256 checksum to release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
if: github.event.inputs.release_tag != ''
|
||||
with:
|
||||
file: ${{ github.workspace }}/v2rayN*.sha256
|
||||
tag: ${{ github.event.inputs.release_tag }}
|
||||
file_glob: true
|
||||
|
||||
# release zip archive
|
||||
- name: Package release zip archive
|
||||
if: github.event.inputs.release_tag != ''
|
||||
|
@ -83,4 +75,4 @@ jobs:
|
|||
file: ${{ github.workspace }}/v2rayN*.zip
|
||||
tag: ${{ github.event.inputs.release_tag }}
|
||||
file_glob: true
|
||||
prerelease: true
|
||||
prerelease: true
|
|
@ -55,8 +55,4 @@ create-dmg \
|
|||
--hide-extension "v2rayN.app" \
|
||||
--app-drop-link 500 185 \
|
||||
"v2rayN-${Arch}.dmg" \
|
||||
"$PackagePath/v2rayN.app"
|
||||
|
||||
# 为生成的 DMG 文件创建 SHA256 校验值文件
|
||||
SHA256File="v2rayN-${Arch}.dmg.sha256"
|
||||
shasum -a 256 "v2rayN-${Arch}.dmg" > "$SHA256File"
|
||||
"$PackagePath/v2rayN.app"
|
Loading…
Reference in New Issue