File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change 8
8
@if git diff-index --name-only HEAD | grep ^ ; then \
9
9
echo Uncommitted changes in above files; exit 1; fi
10
10
@git checkout master
11
- @sed -i.bak -e ' s/^\(my $$version = \).*/\1$(VERSION);/' -e ' s/^\(my $$version_text\) = .*/\1;/ ' get_iplayer
12
- @sed -i.bak -e ' s/^\(my $$VERSION = \).*/\1$(VERSION);/' -e ' s/^\(my $$VERSION_TEXT\) = .*/\1;/ ' get_iplayer.cgi
11
+ @sed -i.bak -e ' s/^\(my $$version = \).*/\1$(VERSION);/' get_iplayer
12
+ @sed -i.bak -e ' s/^\(my $$VERSION = \).*/\1$(VERSION);/' get_iplayer.cgi
13
13
@rm -f get_iplayer.bak get_iplayer.cgi.bak
14
14
@./get_iplayer --nocopyright --manpage get_iplayer.1
15
15
@git diff --exit-code get_iplayer.1 > /dev/null || \
@@ -18,13 +18,10 @@ release:
18
18
@git log --format=' %aN' | sort -u > CONTRIBUTORS; git add CONTRIBUTORS
19
19
@git commit -m " Release $( VERSION) " get_iplayer get_iplayer.cgi get_iplayer.1 CONTRIBUTORS
20
20
@git tag v$(VERSION )
21
- @git checkout contribute
22
- @git merge master
23
- @sed -i.bak -e ' s/^\(my $$version_text\);/\1 = "$(next_ver)-dev";/' get_iplayer
24
- @sed -i.bak -e ' s/^\(my $$VERSION_TEXT\);/\1 = "$(next_ver)-dev";/' get_iplayer.cgi
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
25
23
@rm -f get_iplayer.bak get_iplayer.cgi.bak
26
- @git commit -m " bump dev version" get_iplayer get_iplayer.cgi
27
- @git checkout master
24
+ @git commit -m " bump version" get_iplayer get_iplayer.cgi
28
25
29
26
tarball :
30
27
@git update-index --refresh --unmerged
You can’t perform that action at this time.
0 commit comments