Skip to content

Commit

Permalink
Bump Version 0.0.17 (#1452)
Browse files Browse the repository at this point in the history
Former-commit-id: 23c0593
  • Loading branch information
fnikolai committed Dec 4, 2023
1 parent d2559d0 commit 788c9ac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,14 @@ help: ## Display this help
# The general flow is VERSION -> make new_release -> GITHUB_ACTIONS -> {make docker_push, ...}
RELEASE_VERSION=$(shell cat VERSION)

CURRENT_RELEASE=$(shell git describe --abbrev=0 --tags)

new_release: ## Release a new version of SuperDuperDB
@ if [[ -z "${RELEASE_VERSION}" ]]; then echo "VERSION is not set"; exit 1; fi
@ if [[ "${RELEASE_VERSION}" == "${TAG}" ]]; then echo "no new release version. Please update VERSION file."; exit 1; fi
@ if [[ "$(RELEASE_VERSION)" == "v$(CURRENT_RELEASE)" ]]; then echo "No new release version. Please update VERSION file."; exit 1; fi

@echo "** Switching to branch release-${RELEASE_VERSION}"
@git checkout -b release-${RELEASE_VERSION}
@echo "** Switching to branch release-$(RELEASE_VERSION)"
@git checkout -b release-$(RELEASE_VERSION)

@echo "** Change superduperdb/__init__.py to version $(RELEASE_VERSION:v%=%)"
@sed -ie "s/^__version__ = .*/__version__ = '$(RELEASE_VERSION:v%=%)'/" superduperdb/__init__.py
Expand All @@ -40,10 +41,10 @@ new_release: ## Release a new version of SuperDuperDB
@echo "** Commit Bump Version and Tags"
@git add VERSION
@git commit -m "Bump Version $(RELEASE_VERSION:v%=%)"
@git tag ${RELEASE_VERSION}
@git tag $(RELEASE_VERSION)

@echo "** Push release-${RELEASE_VERSION}"
git push --set-upstream origin release-${RELEASE_VERSION} --tags
@echo "** Push release-$(RELEASE_VERSION)"
git push --set-upstream origin release-$(RELEASE_VERSION) --tags


##@ DevKit
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.0.16
v0.0.17
2 changes: 1 addition & 1 deletion superduperdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

logging = logger.Logging

__version__ = '0.0.16'
__version__ = '0.0.17'

from superduperdb.backends import ibis, mongodb

Expand Down

0 comments on commit 788c9ac

Please sign in to comment.