Skip to content

Commit

Permalink
Bump version: 0.4.3-rc2 → 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
miraculixx committed Jan 8, 2025
1 parent 82364ed commit ec14695
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.4.3-rc2
current_version = 0.4.3
commit = True
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)([-](?P<release>(dev|rc))+(?P<build>\d+))?
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ dist: bump-build
python -m build
twine check dist/*.whl

release: test dist
release: changes test dist
bash -c "grep -qvE '(-rc|-dev)' bogrod/VERSION || (echo 'must be a final release. run make bump-release first'; exit 1)"
bash -c 'git checkout -b release-`head -n1 bogrod/VERSION`'
bash -c "git add .; git commit -m 'build release'; git push"
twine upload --skip-existing --repository pypi-productaize dist/*gz dist/*whl
bash -c "git tag `head -n1 bogrod/VERSION`; git push origin --tags"

release-test: dist
release-test: changes dist
# upload and install
bash -c "grep -qE '(-rc)' bogrod/VERSION || (echo 'must be a release candidate (-rc). run make bump-release first'; exit 1)"
bash -c 'git checkout -b build-`head -n1 bogrod/VERSION`'
Expand All @@ -66,5 +66,9 @@ install-sbom-tools:
pip install reno
pip install -e .

changes:
bash -c "grep -q `head -n1 bogrod/VERSION` CHANGES || (echo 'ERROR must update CHANGES first, run git-rln origin/master HEAD'; exit 1)"
echo "CHANGES is ok"

test:
tox
2 changes: 1 addition & 1 deletion bogrod/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.3-rc2
0.4.3

0 comments on commit ec14695

Please sign in to comment.