File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ release: update_docs
9898 | xz -c > $(FILEBASE ) .tar.xz
9999 rm $$ GIT_INDEX_FILE
100100 # Make GitHub mark our new tag as an official release
101- curl -s -H " Authorization: token $( TOKEN ) " -X POST \
101+ curl -s -H " Authorization: token $( GITHUB_COM_TOKEN ) " -X POST \
102102 https://api.github.com/repos/newren/git-filter-repo/releases \
103103 --data " { \
104104 \" tag_name\" : \" $(TAGNAME ) \" , \
@@ -107,7 +107,7 @@ release: update_docs
107107 \" body\" : \" filter-repo $(TAGNAME ) \" \
108108 }" | jq -r .id >asset_id
109109 # Upload our tarball
110- cat asset_id | xargs -I ASSET_ID curl -s -H " Authorization: token $( TOKEN ) " -H " Content-Type: application/octet-stream" --data-binary @$(FILEBASE ) .tar.xz https://uploads.github.com/repos/newren/git-filter-repo/releases/ASSET_ID/assets? name=$(FILEBASE ) .tar.xz
110+ cat asset_id | xargs -I ASSET_ID curl -s -H " Authorization: token $( GITHUB_COM_TOKEN ) " -H " Content-Type: application/octet-stream" --data-binary @$(FILEBASE ) .tar.xz https://uploads.github.com/repos/newren/git-filter-repo/releases/ASSET_ID/assets? name=$(FILEBASE ) .tar.xz
111111 # Remove temporary file(s)
112112 rm asset_id
113113 # Notify of completion
You can’t perform that action at this time.
0 commit comments