Skip to content

Commit 4222e69

Browse files
Merge pull request #997 from vojtechtrefny/master_tag-release
Two small Makefile fixes: tag and bumpver
2 parents 65f50bf + 2d8e1e3 commit 4222e69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile.am

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ coverage-all: all
157157
$(COVERAGE) report --include="src/*" > coverage-report.log
158158

159159
tag:
160-
TAG="$(PACKAGE_VERSION)-1" ; \
160+
TAG="$(PACKAGE_VERSION)" ; \
161161
git tag -a -s -m "Tag as $$TAG" -f "$$TAG" && \
162162
echo "Tagged as $$TAG"
163163

@@ -179,7 +179,7 @@ bumpver:
179179
tail --lines=+$$(($$cl + 1)) dist/libblockdev.spec.in > speclog ; \
180180
(head -n $$cl dist/libblockdev.spec.in ; echo "$$DATELINE" ; make --quiet rpmlog 2>/dev/null ; echo ""; cat speclog) > dist/libblockdev.spec.in.new ; \
181181
mv dist/libblockdev.spec.in.new dist/libblockdev.spec.in ; rm -f speclog ; \
182-
sed -ri "s/(AC_INIT\(\[$(PACKAGE_NAME)\], \[)[0-9]+\.[0-9]+(\],.*)/\1$$VERSION.$$NEWSUBVERSION\2/" configure.ac ; \
182+
sed -ri "s/(AC_INIT\(\[$(PACKAGE_NAME)\], \[)[0-9.]+(\],.*)/\1$$VERSION.$$NEWSUBVERSION\2/" configure.ac ; \
183183
sed -ri "s/Version:(\\s+)[-0-9.]+/Version:\\1$$VERSION.$$NEWSUBVERSION/" dist/libblockdev.spec.in ;
184184

185185
archive: distcheck

0 commit comments

Comments
 (0)