File tree 7 files changed +11
-11
lines changed
7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
3
RELBODY=" https://github.com/v2fly/v2ray-core/commit/${RELEASE_SHA} "
4
4
JSON_DATA=$( echo " {}" | jq -c " .tag_name=\" ${RELEASE_TAG} \" " )
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
3
# This file is accessible as https://install.direct/go.sh
4
4
# Original source is located at github.com/v2fly/v2ray-core/release/install-release.sh
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
- export VROOT=$( dirname " ${BASH_SOURCE[0]} " ) /../../
3
+ export VROOT=$( dirname " ${BASH_SOURCE[0]} " ) /../../
4
4
5
5
rm $VROOT /infra/control/verify.go
6
6
7
- sed -i ' /VSign/d' $VROOT /go.mod
7
+ sed -i ' /VSign/d' $VROOT /go.mod
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
3
RELEASE_DATA=$( curl --data " version=${SIGN_VERSION} " --data " password=${SIGN_SERVICE_PASSWORD} " -X POST " ${SIGN_SERIVCE_URL} " )
4
4
echo $RELEASE_DATA
@@ -25,4 +25,4 @@ function upload() {
25
25
}
26
26
27
27
curl " https://raw.githubusercontent.com/v2fly/Release/master/v2fly/${SIGN_VERSION} .Release" > Release
28
- upload Release
28
+ upload Release
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
3
export SIGN_VERSION=$( cat $GITHUB_EVENT_PATH | jq -r " .release.tag_name" )
4
4
5
5
echo $SIGN_VERSION
6
6
7
- $GITHUB_WORKSPACE /release/requestsign.sh
7
+ $GITHUB_WORKSPACE /release/requestsign.sh
Original file line number Diff line number Diff line change 1
- #! /bin/bash
1
+ #! /usr/ bin/env bash
2
2
3
3
CONST_refs=" refs"
4
4
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ build_v2() {
33
33
local VERSIONTAG=$( git describe --abbrev=0 --tags)
34
34
fi
35
35
36
- LDFLAGS=" -s -w -buildid= -X v2ray.com/core. codename=${CODENAME} -X v2ray.com/core. build=${BUILDNAME} -X v2ray.com/core .version=${VERSIONTAG} "
36
+ LDFLAGS=" -s -w -buildid= -X v2ray.codename=${CODENAME} -X v2ray.build=${BUILDNAME} -X v2ray.version=${VERSIONTAG} "
37
37
38
38
echo " >>> Compile v2ray ..."
39
39
env CGO_ENABLED=0 go build -o " $TMP " /v2ray" ${EXESUFFIX} " -ldflags " $LDFLAGS " ./main
You can’t perform that action at this time.
0 commit comments