Skip to content

Commit 5fe0211

Browse files
committed
Bump Version v0.0.9
Former-commit-id: 98794b8
1 parent 0e1f9b7 commit 5fe0211

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/ci_code.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: Validate code changes
22

33
on: # rules for when this action will be triggered
4-
push:
5-
paths-ignore: # ignore docs in this action - handled in a separate action
6-
- 'docs/**'
7-
- '*.md'
8-
- '*.rst'
94
pull_request:
105
branches:
116
- main

Makefile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,21 @@ new-release: ## Release a new SuperDuperDB version
3737
@ if [[ -z "${RELEASE_VERSION}" ]]; then echo "VERSION is not set"; exit 1; fi
3838
@ if [[ "${RELEASE_VERSION}" == "${TAG}" ]]; then echo "no new release version. Please update VERSION file."; exit 1; fi
3939

40+
@echo "** Switching to branch release-${RELEASE_VERSION}"
41+
@git checkout -b release-${RELEASE_VERSION}
42+
4043
@echo "** Change superduperdb/__init__.py to version $(RELEASE_VERSION:v%=%)"
4144
@sed -ie "s/^__version__ = .*/__version__ = '$(RELEASE_VERSION:v%=%)'/" superduperdb/__init__.py
45+
@git add superduperdb/__init__.py
4246

43-
@echo "** Commit Changes"
47+
@echo "** Commit Bump Version and Tags"
4448
@git add VERSION
45-
git commit -m "Bump Version $(RELEASE_VERSION)"
46-
47-
@echo "** Push tag for version $(RELEASE_VERSION:v%=%)"
49+
@git commit -m "Bump Version $(RELEASE_VERSION)"
4850
@git tag ${RELEASE_VERSION}
49-
git push origin ${RELEASE_VERSION}
51+
52+
@echo "** Push release-${RELEASE_VERSION}"
53+
git push --set-upstream origin release-${RELEASE_VERSION} --tags
54+
5055

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

0 commit comments

Comments
 (0)