Skip to content

Commit

Permalink
Fix for release target.
Browse files Browse the repository at this point in the history
  • Loading branch information
micheldebree committed Nov 5, 2017
1 parent 0e9010e commit d62ae23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.m2
target
*.prg
*.prg
*.versionsBackup
4 changes: 3 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@ MVN=docker run -t --rm -v "$$PWD":/workspace -v "$$PWD/.m2":/root/.m2 -w /worksp
KICKASS=.m2/cml/kickass/KickAss/$(KICKASS_VERSION)/KickAss-$(KICKASS_VERSION).jar

snapshot: .m2/cml/kickass/KickAss/$(KICKASS_VERSION)/KickAss-$(KICKASS_VERSION).jar
$(MVN) versions:set -DnewVersion=$(VICEREMOTE_VERSION)-SNAPSHOT
$(MVN) clean install

release:
git tag $(VICEREMOTE_VERSION)
$(MVN) versions:set -DnewVersion=$(VICEREMOTE_VERSION)
$(MVN) clean install
git add pom.xml
git commit -m "Release $(VICEREMOTE_VERSION)"
git push
git push --tags
$(MVN) versions:set -DnewVersion=$(VICEREMOTE_VERSION)-SNAPSHOT

test.prg: test.asm
java -jar target/viceremote-$(VICEREMOTE_VERSION).jar "reset 1"
Expand Down

0 comments on commit d62ae23

Please sign in to comment.