Skip to content

Commit

Permalink
make tag helper
Browse files Browse the repository at this point in the history
  • Loading branch information
gdraheim committed Aug 3, 2024
1 parent 74df70c commit 29de120
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 8 additions & 5 deletions DEVGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,18 @@ and `make x_9020` runs "test_9020" in that tests.py.
* `make insxlsx`
* `make unsxlsx`
* `make coverage`
* update README.md with the result from coverage
* update README.md with the result from coverage
* `git push` # if necessary
* wait for github workflows to be okay
* wait for github workflows to be okay
* prepare a tmp.changes.txt
* `git tag -F tmp.changes.txt v1.x` to the version in zziplib.spec
* `make tag`
* `git tag -F tmp.changes.txt v1.x` to the version in zziplib.spec
* `git push --tags`
* update the short description on github
* `make xlsx` and executed the shown `twine upload` to pypi.org
* `make build` and executed the shown `twine upload` to pypi.org
* `make xlsx`
* execute shown `twine upload` to pypi.org
* `make build`
* execute shown `twine upload` to pypi.org

## TODO

Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ version:
@ grep ^__version__ $(FILES) | grep -v .tests.py
@ ver=`cat $(MAIN_PROG) | sed -e '/__version__/!d' -e 's/.*= *"//' -e 's/".*//' -e q` \
; echo "# $(GIT) commit -m v$$ver"
tag:
@ ver=`grep "version.*=" setup.cfg | sed -e "s/version *= */v/"` \
; rev=`git rev-parse --short HEAD` \
; echo ": ${GIT} tag $$ver $$rev"

TESTSUITE = $(MAIN_PROG:.py=.tests.py)

Expand Down

0 comments on commit 29de120

Please sign in to comment.