mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-25 10:01:28 +00:00
Chore: Adjust release.yml (#337)
Co-authored-by: Jim Han <50871214+JimhHan@users.noreply.github.com> Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
This commit is contained in:
parent
54af48a1ae
commit
24f564b401
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -99,8 +99,8 @@ jobs:
|
||||||
goarm: 7
|
goarm: 7
|
||||||
# END OPENBSD ARM
|
# END OPENBSD ARM
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
#配置编译环境
|
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
GOOS: ${{ matrix.goos }}
|
GOOS: ${{ matrix.goos }}
|
||||||
GOARCH: ${{ matrix.goarch }}
|
GOARCH: ${{ matrix.goarch }}
|
||||||
|
@ -173,16 +173,8 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
pushd build_assets || exit 1
|
pushd build_assets || exit 1
|
||||||
touch -mt 202101010000 *
|
touch -mt $(date +%Y01010000) *
|
||||||
zip -9vr ../Xray-$ASSET_NAME.zip .
|
zip -9vr ../Xray-$ASSET_NAME.zip .
|
||||||
for CORE in $(ls xray*)
|
|
||||||
do
|
|
||||||
COREDGST=$CORE.dgst
|
|
||||||
for METHOD in {"md5","sha1","sha256","sha512"}
|
|
||||||
do
|
|
||||||
openssl dgst -$METHOD $CORE | sed 's/([^)]*)//g' >>$COREDGST
|
|
||||||
done
|
|
||||||
done
|
|
||||||
popd || exit 1
|
popd || exit 1
|
||||||
FILE=./Xray-$ASSET_NAME.zip
|
FILE=./Xray-$ASSET_NAME.zip
|
||||||
DGST=$FILE.dgst
|
DGST=$FILE.dgst
|
||||||
|
|
Loading…
Reference in a new issue