File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11name : Validate code changes
22
33on : # 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
Original file line number Diff line number Diff 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
5156docker-build : # # Build SuperDuperDB images
5257 @echo " ===> Build SuperDuperDB:${TAG} Container <==="
You can’t perform that action at this time.
0 commit comments