We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0f3c2a commit abd6c84Copy full SHA for abd6c84
Makefile
@@ -2,7 +2,6 @@ dummy:
2
@echo No need to make anything.
3
4
ifdef VERSION
5
-next_ver := $(shell echo $(VERSION) + 0.01 | bc)
6
release:
7
@git update-index --refresh --unmerged
8
@if git diff-index --name-only HEAD | grep ^ ; then \
@@ -18,10 +17,6 @@ release:
18
17
@git log --format='%aN' | sort -u > CONTRIBUTORS; git add CONTRIBUTORS
19
@git commit -m "Release $(VERSION)" get_iplayer get_iplayer.cgi get_iplayer.1 CONTRIBUTORS
20
@git tag v$(VERSION)
21
- @sed -i.bak -e 's/^\(my $$version = \).*/\1$(next_ver);/' get_iplayer
22
- @sed -i.bak -e 's/^\(my $$VERSION = \).*/\1$(next_ver);/' get_iplayer.cgi
23
- @rm -f get_iplayer.bak get_iplayer.cgi.bak
24
- @git commit -m "bump version" get_iplayer get_iplayer.cgi
25
26
tarball:
27
0 commit comments