Skip to content

Commit

Permalink
make tag
Browse files Browse the repository at this point in the history
  • Loading branch information
gdraheim committed Aug 4, 2024
1 parent 31313bf commit 0cbbd93
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 6 additions & 3 deletions DEVGUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,11 @@ For ubuntu you can check the latest Github workflows under
* `git push` # if necessary
* wait for github workflows to be okay
* prepare a tmp.changes.txt
* `git tag -F tmp.changes.txt v1.x` to the version in setup.cfg
* `make tag`
* and `git tag -F tmp.changes.txt v1.x`
* `git push --tags`
* update the short description on github
* `make build` and following `twine upload` as shown
* `make unicoder` and following `twine upload` as shown
* `make build`
* and following `twine upload` as shown
* `make unicoder`
* and following `twine upload` as shown
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ version:
-e "/^ *__copyright__/s/(C) [0123456789]* /(C) $$THISYEAR /" \
$$f; done; }
@ grep ^__version__ $(FILES)
tag:
@ ver=`grep "version.*=" setup.cfg | sed -e "s/version *= */v/"` \
; rev=`git rev-parse --short HEAD` \
; echo ": ${GIT} tag $$ver $$rev"

help:
$(PYTHON3) unicoder.py --help
Expand Down

0 comments on commit 0cbbd93

Please sign in to comment.