@@ -6,17 +6,17 @@ git pull
66git push
77
88# Start a new release or hotfix
9- git-flow release start gitools-2.2.0
10- git-flow hotfix start gitools-2.2.0
9+ git-flow release start gitools-2.2.1
10+ git-flow hotfix start gitools-2.2.1
1111
1212# Update pom.xml version
1313# The following command only prints to display
1414# Check that you are going to update only the correct versions:
15- find . -name pom.xml | awk '{ system("sed 0,/2.1.0/s//2.2.0 / "$0)}' | grep -A2 -B3 2.2.0
15+ find . -name pom.xml | awk '{ system("sed 0,/2.1.0/s//2.2.1 / "$0)}' | grep -A2 -B3 2.2.1
1616
1717# The following command will apply the changes
1818# Update all like this:
19- find . -name pom.xml | awk '{ system("sed -i 0,/2.1.0/s//2.2.0 / "$0)}'
19+ find . -name pom.xml | awk '{ system("sed -i 0,/2.1.0/s//2.2.1 / "$0)}'
2020
2121# Go to Documentation folder.
2222# Check in src/conf.py if the version numbers are up to date
@@ -35,16 +35,16 @@ mvn -P test-analysis clean install assembly:assembly
3535
3636# Test new release
3737cd target
38- unzip gitools-2.2.0 -bin.zip
39- gitools-2.2.0 /bin/gitools
38+ unzip gitools-2.2.1 -bin.zip
39+ gitools-2.2.1 /bin/gitools
4040cd ..
4141
4242# Deploy ZIP file
43- scp target/gitools-2.2.0 -bin.zip bgadmin@ankara:/usr/local/gitools/www/downloads/
43+ scp target/gitools-2.2.1 -bin.zip bgadmin@ankara:/usr/local/gitools/www/downloads/
4444
4545# Deploy Webstart
4646# change back to the gitools root folder
47- ./webstart-deploy.sh 2.2.0
47+ ./webstart-deploy.sh 2.2.1
4848
4949# Update this file on the server:
5050/usr/local/gitools/www/downloads/latest.txt
@@ -56,22 +56,22 @@ make clean
5656cd ..
5757
5858# Commit the changes
59- git commit -a -m "Release version 2.2.0 "
59+ git commit -a -m "Release version 2.2.1 "
6060
6161# Finish the release or hotfix
62- git flow release finish gitools-2.2.0
63- git flow hotfix finish gitools-2.2.0
62+ git flow release finish gitools-2.2.1
63+ git flow hotfix finish gitools-2.2.1
6464
6565# Check that you are on develop branch
6666git checkout develop
6767
6868# Update pom.xml versions to new SNAPSHOT version
6969
7070# Check that you are going to update only the correct versions:
71- find . -name pom.xml | awk '{ system("sed 0,/2.2.0 /s//2.3.0-SNAPSHOT/ "$0)}' | grep -A2 -B3 2.3.0-SNAPSHOT
71+ find . -name pom.xml | awk '{ system("sed 0,/2.2.1 /s//2.3.0-SNAPSHOT/ "$0)}' | grep -A2 -B3 2.3.0-SNAPSHOT
7272
7373# Update all like this:
74- find . -name pom.xml | awk '{ system("sed -i 0,/2.2.0 /s//2.3.0-SNAPSHOT/ "$0)}'
74+ find . -name pom.xml | awk '{ system("sed -i 0,/2.2.1 /s//2.3.0-SNAPSHOT/ "$0)}'
7575
7676# Commit
7777git commit -a -m "Next iteration version 2.3.0-SNAPSHOT"
0 commit comments