Skip to content
Snippets Groups Projects
Unverified Commit 7503ccdd authored by Timo Furrer's avatar Timo Furrer
Browse files

Run CI for changelog updates

parent db5ed0ad
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ release: ...@@ -59,7 +59,7 @@ release:
@[ "main" = "$(shell git rev-parse --abbrev-ref HEAD)" ] || (echo "Please checkout the main branch first: git checkout main" && false) @[ "main" = "$(shell git rev-parse --abbrev-ref HEAD)" ] || (echo "Please checkout the main branch first: git checkout main" && false)
@[ -n "$(GITLAB_TOKEN)" ] || (echo "Please set the GITLAB_TOKEN environment variable" && false) @[ -n "$(GITLAB_TOKEN)" ] || (echo "Please set the GITLAB_TOKEN environment variable" && false)
@echo "Creating changelog ..." @echo "Creating changelog ..."
@curl --fail-with-body --request POST --header "PRIVATE-TOKEN: $(GITLAB_TOKEN)" 'https://gitlab.com/api/v4/projects/components%2Fopentofu/repository/changelog' --data "version=$(VERSION)&message='Add changelog for $(VERSION) [skip ci]'" @curl --fail-with-body --request POST --header "PRIVATE-TOKEN: $(GITLAB_TOKEN)" 'https://gitlab.com/api/v4/projects/components%2Fopentofu/repository/changelog' --data "version=$(VERSION)&message=Add changelog for $(VERSION)"
@echo "Pulling changelog ..." @echo "Pulling changelog ..."
@git pull @git pull
@echo "Tagging $(VERSION) ..." @echo "Tagging $(VERSION) ..."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment