Skip to content

Commit abd6c84

Browse files
committedFeb 16, 2021
fixed version numbering
1 parent a0f3c2a commit abd6c84

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎Makefile

-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ dummy:
22
@echo No need to make anything.
33

44
ifdef VERSION
5-
next_ver := $(shell echo $(VERSION) + 0.01 | bc)
65
release:
76
@git update-index --refresh --unmerged
87
@if git diff-index --name-only HEAD | grep ^ ; then \
@@ -18,10 +17,6 @@ release:
1817
@git log --format='%aN' | sort -u > CONTRIBUTORS; git add CONTRIBUTORS
1918
@git commit -m "Release $(VERSION)" get_iplayer get_iplayer.cgi get_iplayer.1 CONTRIBUTORS
2019
@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
2520

2621
tarball:
2722
@git update-index --refresh --unmerged

0 commit comments

Comments
 (0)
Please sign in to comment.