Skip to content

Commit 8589efc

Browse files
committed
update release script
1 parent 770b5c5 commit 8589efc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packaging/release.sh

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ fi
77

88
VERSION=$1
99

10+
git tag $1
11+
git push origin $1
12+
./autogen.sh && ./configure && make dist
13+
1014
API_JSON=$(printf '{"tag_name": "%s","target_commitish": "master","name": "%s","body": "","draft": false,"prerelease": false}' $VERSION $VERSION)
1115
ID=`curl -v --data "$API_JSON" https://api.github.com/repos/clowwindy/ChinaDNS/releases?access_token=$GITHUB_TOKEN | python -c 'import json,sys;print json.load(sys.stdin)["id"]'`
1216

0 commit comments

Comments
 (0)