Skip to content

Commit bcab3fd

Browse files
committed
package/release/Makefile: update the destination repository for uploading binary releases
1 parent 38986aa commit bcab3fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package/release/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ github-create-release: github-token-check github-tag-check
1616
-X POST \
1717
-H "Accept: application/vnd.github+json" \
1818
-H "Authorization: token $(GITHUB_TOKEN)" \
19-
https://api.github.com/repos/VictoriaMetrics/VictoriaMetrics/releases \
19+
https://api.github.com/repos/VictoriaMetrics/VictoriaLogs/releases \
2020
-d '{"tag_name":"$(TAG)","name":"$(TAG)","body":"TODO: put here the changelog for $(TAG) release from docs/CHANGELOG.md","draft":true,"prerelease":false,"generate_release_notes":false}'); \
2121
if [ $${result} = 201 ]; then \
2222
release_id=$$(cat $(GITHUB_RELEASE_SPEC_FILE) | grep '"id"' -m 1 | sed -E 's/.* ([[:digit:]]+)\,/\1/'); \
@@ -44,7 +44,7 @@ endif
4444
-H "Authorization: token $(GITHUB_TOKEN)" \
4545
-H "Content-Type: $(CONTENT_TYPE)" \
4646
--data-binary "@$(FILE)" \
47-
https://uploads.github.com/repos/VictoriaMetrics/VictoriaMetrics/releases/$(RELEASE_ID)/assets?name=$(notdir $(FILE))); \
47+
https://uploads.github.com/repos/VictoriaMetrics/VictoriaLogs/releases/$(RELEASE_ID)/assets?name=$(notdir $(FILE))); \
4848
if [ $${result} = 201 ]; then \
4949
printf "Upload OK: $${result}\n"; \
5050
elif [ $${result} = 422 ]; then \
@@ -61,7 +61,7 @@ github-delete-release: github-token-check
6161
-X DELETE \
6262
-H "Accept: application/vnd.github+json" \
6363
-H "Authorization: token $(GITHUB_TOKEN)" \
64-
https://api.github.com/repos/VictoriaMetrics/VictoriaMetrics/releases/$${release_id}); \
64+
https://api.github.com/repos/VictoriaMetrics/VictoriaLogs/releases/$${release_id}); \
6565
if [ $${result} = 204 ]; then \
6666
printf "Deleted release with id=$${release_id}\n"; \
6767
else \

0 commit comments

Comments
 (0)