mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 19:56:23 -04:00
Use sets instead of lists, fix threading issues
This commit is contained in:
parent
a1993a5d9a
commit
81bf4b65d4
22 changed files with 107 additions and 852 deletions
|
@ -1,52 +0,0 @@
|
|||
How to publish custom TomP2P snapshots:
|
||||
|
||||
Update this fork to upstream/master:
|
||||
|
||||
git clone https://github.com/bitsquare/TomP2P.git
|
||||
cd TomP2P
|
||||
git remote add upstream https://github.com/tomp2p/TomP2P.git
|
||||
git checkout master
|
||||
git pull upstream master
|
||||
git push origin master
|
||||
|
||||
Create a custom qualified snapshot version:
|
||||
|
||||
git checkout published (if the first time: git checkout -b published)
|
||||
git reset --hard master
|
||||
export COMMITHASH=$(git log --oneline -1 | cut -d" " -f1)
|
||||
git grep -l 5.0-Alpha | xargs perl -p -i -e "s/5.0-Alpha(..?)-SNAPSHOT/5.0-Alpha$1.$COMMITHASH-SNAPSHOT/"
|
||||
git diff # review changes to poms
|
||||
git commit -am"Qualify pom version for publication"
|
||||
|
||||
Build artifacts:
|
||||
|
||||
mvn clean package -DskipTests
|
||||
|
||||
Upload artifacts to Artifactory:
|
||||
|
||||
Log in at https://partnerdemo.artifactoryonline.com/partnerdemo/webapp/login.html (@ManfredKarrer and @cbeams know the creds)
|
||||
Go to https://partnerdemo.artifactoryonline.com/partnerdemo/webapp/deployartifact.html
|
||||
Upload each of the tomp2p jar files, and accept all defaults in the form that follows
|
||||
Finally, upload the top-level pom.xml (this is the tomp2p-parent pom).
|
||||
|
||||
Re-apply this README:
|
||||
|
||||
git show bitsquare-published-91276e8:README > README
|
||||
git add README
|
||||
git commit -m"Add README with publication instructions"
|
||||
|
||||
Tag the published branch:
|
||||
|
||||
git tag bitsquare-published-$COMMITHASH published
|
||||
|
||||
(Force) push the published branch:
|
||||
|
||||
git push -f origin published
|
||||
|
||||
Push tags:
|
||||
|
||||
git push --tags
|
||||
|
||||
|
||||
Note this would all be a lot easier if TomP2P published its own snapshots :)
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd /Users/mk/Documents/_intellij/TomP2P-master_fork/TomP2P
|
||||
git reset --hard
|
||||
git remote add upstream https://github.com/tomp2p/TomP2P.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)
|
||||
git grep -l 5.0-Alpha | xargs perl -p -i -e "s/5.0-Alpha(..?)-SNAPSHOT/5.0-Alpha$1.$COMMITHASH-SNAPSHOT/"
|
||||
git commit -am"Qualify pom version for publication"
|
||||
echo $COMMITHASH
|
||||
|
||||
mvn clean install -DskipTests
|
||||
|
||||
git show bitsquare-published-91276e8:README > README
|
||||
git add README
|
||||
git commit -m"Add README with publication instructions"
|
||||
|
||||
git tag bitsquare-published-$COMMITHASH published
|
||||
git push -f origin published
|
||||
git push --tags
|
||||
|
||||
echo $COMMITHASH
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue