File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ create_release(){
3535upload_file (){
3636 local OUT=$( curl --data-binary " @$SOURCE_FILE " -w " \n%{http_code}\n" \
3737 -s -X POST -H ' Content-Type: application/octet-stream' \
38- " https://uploads.github.com/repos/${USERNAME} /${REPOSITORY} /releases/$RELEASE_ID /assets?name=$TARGET_FILE &access_token=$REPO_TOKEN "
38+ -H " Authorization: token $$ {REPO_TOKEN}" \
39+ " https://uploads.github.com/repos/${USERNAME} /${REPOSITORY} /releases/$RELEASE_ID /assets?name=$TARGET_FILE "
3940 )
4041
4142 if test " $( echo " $OUT " | tail -n 1) " -ne " 201" ; then
@@ -63,8 +64,8 @@ validate_repo_token(){
6364}
6465
6566create_tag (){
66- git config user.email " builds@travis-ci .com"
67- git config user.name " Travis CI "
67+ git config user.email " githubcli@github .com"
68+ git config user.name " Github CLI "
6869
6970 git commit -a -m " Releasing ${APP_VERSION} " || true
7071 git tag ${APP_VERSION}
You can’t perform that action at this time.
0 commit comments