mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Add new_tag.sh file
This commit is contained in:
parent
aa1e141900
commit
6e644ae2b7
21
doc/new_tag.sh
Normal file
21
doc/new_tag.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /Users/mk/Documents/_intellij/bitsquare
|
||||
git reset --hard
|
||||
git remote add upstream https://github.com/bitsquare/bitsquare.git
|
||||
git checkout master
|
||||
git pull upstream master
|
||||
git push origin master
|
||||
|
||||
git checkout published
|
||||
git reset --hard master
|
||||
export COMMITHASH=$(git log --oneline -1 | cut -d" " -f1)
|
||||
echo $COMMITHASH
|
||||
git grep -l 0.1.3-SNAPSHOT | xargs perl -p -i -e "s/0.1.3-SNAPSHOT/0.1.3.$COMMITHASH-SNAPSHOT/"
|
||||
git commit -am"Qualify pom version for publication"
|
||||
|
||||
mvn clean install -DskipTests
|
||||
|
||||
git tag bitsquare-published-$COMMITHASH published
|
||||
git push -f origin published
|
||||
git push --tags
|
Loading…
Reference in New Issue
Block a user