Skip to content

Commit

Permalink
[v1.0.6] HOTFIX | Fix bump version (again) (#5)
Browse files Browse the repository at this point in the history
* Fix bump version (again)

* Remove \
  • Loading branch information
yonbek authored and camparibot committed Jun 17, 2021
1 parent 1a0d1c5 commit 3b152e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ bump-version:
echo $(CURRENT_BRANCH); \
fi; \
))
$(eval REPOSITORY_NAME=$(shell echo "$(GITHUB_REPOSITORY)" | cut -d / -f 2))

@git log -1 --pretty="%B" > /tmp/commit-message
@sed -i '1s/^/\[$(NEW_VERSION)] /' /tmp/commit-message
Expand All @@ -53,7 +54,7 @@ bump-version:

@BRANCH_PROTECTION_ID=`curl https://api.github.com/graphql \
-H "Authorization: bearer $(CAMPARIBOT_TOKEN)" -H "Content-Type: application/json" \
-X POST -d '{ "query": "query { repository(name: \"$(IMAGE_NAME)\", owner: \"aporia-ai\") { branchProtectionRules(first: 100) { nodes { id, pattern } } } }" }' | \
-X POST -d '{ "query": "query { repository(name: \"$(REPOSITORY_NAME)\", owner: \"aporia-ai\") { branchProtectionRules(first: 100) { nodes { id, pattern } } } }" }' | \
jq -r '.data.repository.branchProtectionRules.nodes | .[] | select(.pattern == "$(BRANCH_PROTECTION_PATTERN)") | .id'`; \
if [ ! -z $$BRANCH_PROTECTION_ID ]; \
then \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aporia-importer"
version = "v1.0.3"
version = "v1.0.6"
description = "Import data from cloud storage to Aporia"
authors = []
readme = "README.md"
Expand Down

0 comments on commit 3b152e6

Please sign in to comment.