Skip to content

Commit

Permalink
Bump Version v0.0.9
Browse files Browse the repository at this point in the history
Former-commit-id: 98794b8
  • Loading branch information
fnikolai committed Oct 6, 2023
1 parent 0e1f9b7 commit 5fe0211
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci_code.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
name: Validate code changes

on: # rules for when this action will be triggered
push:
paths-ignore: # ignore docs in this action - handled in a separate action
- 'docs/**'
- '*.md'
- '*.rst'
pull_request:
branches:
- main
Expand Down
15 changes: 10 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,21 @@ new-release: ## Release a new SuperDuperDB version
@ 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

@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
@git add superduperdb/__init__.py

@echo "** Commit Changes"
@echo "** Commit Bump Version and Tags"
@git add VERSION
git commit -m "Bump Version $(RELEASE_VERSION)"

@echo "** Push tag for version $(RELEASE_VERSION:v%=%)"
@git commit -m "Bump Version $(RELEASE_VERSION)"
@git tag ${RELEASE_VERSION}
git push origin ${RELEASE_VERSION}

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


docker-build: ## Build SuperDuperDB images
@echo "===> Build SuperDuperDB:${TAG} Container <==="
Expand Down

0 comments on commit 5fe0211

Please sign in to comment.