Skip to content

Commit

Permalink
Fix distribution archive creation on jenkins
Browse files Browse the repository at this point in the history
Instead of using master branch, use current HEAD (on current branch)
  • Loading branch information
carstene1ns committed May 26, 2015
1 parent 27abc55 commit fc4e0e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dist-zip:
@rm -f easyrpg-rtp.zip
@rm -rf dist-zip
@mkdir dist-zip
@git archive --prefix=EasyRPG-RTP/ --worktree-attributes master | tar xf - -C dist-zip
@git archive --prefix=EasyRPG-RTP/ --worktree-attributes HEAD | tar xf - -C dist-zip
@cd dist-zip/EasyRPG-RTP; mv README.md README.txt; mv AUTHORS.md AUTHORS.txt; mv COPYING COPYING.txt; \
unix2dos -q COPYING.txt README.txt AUTHORS.txt
@cd dist-zip; zip -9 -q -r $(MYDIR)/easyrpg-rtp.zip EasyRPG-RTP
Expand All @@ -29,7 +29,7 @@ dist-tar:
@rm -f easyrpg-rtp.tar.gz
@rm -rf dist-tar
@mkdir dist-tar
@git archive --prefix=EasyRPG-RTP/ --worktree-attributes master | tar xf - -C dist-tar
@git archive --prefix=EasyRPG-RTP/ --worktree-attributes HEAD | tar xf - -C dist-tar
@cd dist-tar/EasyRPG-RTP; mv README.md README; mv AUTHORS.md AUTHORS
@tar czf easyrpg-rtp.tar.gz -C dist-tar EasyRPG-RTP
@rm -rf dist-tar
Expand Down

0 comments on commit fc4e0e1

Please sign in to comment.