Skip to content

Commit c862f96

Browse files
committed
make tag
1 parent db27e77 commit c862f96

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

DEVGUIDE.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ if they have some patch that should be integrated. Here are some links:
134134
* update README.md with the result from coverage
135135
* `git push` # if necessary
136136
* wait for github workflows to be okay
137-
* prepare a tmp.changes.txt
138-
* `git tag -F tmp.changes.txt v1.x` to the version in zziplib.spec
137+
* prepare a tmp.changes.txt
138+
* `make tag`
139+
* and `git tag -F tmp.changes.txt v1.x` to the version in zziplib.spec
139140
* `git push --tags`
140141
* update the short description on github
141142
* consider making a github release with the latest news

GNUmakefile

+4
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@ nextversion:
113113
; git --no-pager diff -U0
114114
checkversion versions:
115115
@ git --no-pager diff -U0
116+
tag:
117+
@ ver=`grep "version.*=" setup.cfg | sed -e "s/version *= */v/"` \
118+
; rev=`git rev-parse --short HEAD` \
119+
; echo ": ${GIT} tag $$ver $$rev"
116120

117121
# format ..............................
118122
CLANG_FORMAT=clang-format

0 commit comments

Comments
 (0)