@@ -12,45 +12,45 @@ git-flow hotfix start gitools-2.0.0
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.0.0-SNAPSHOT /s//2.0.0 / "$0)}' | grep -A2 -B3 2.0.0
15+ find . -name pom.xml | awk '{ system("sed 0,/2.0.0/s//2.0.1 / "$0)}' | grep -A2 -B3 2.0.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.0.0-SNAPSHOT /s//2.0.0 / "$0)}'
19+ find . -name pom.xml | awk '{ system("sed -i 0,/2.0.0/s//2.0.1 / "$0)}'
2020
2121# Compile and package
2222mvn clean install assembly:assembly
2323
2424# Test new release
2525cd target
26- unzip gitools-2.0.0 -bin.zip
26+ unzip gitools-2.0.1 -bin.zip
2727gitools-2.0.0/bin/gitools
2828cd ..
2929
3030# Deploy ZIP file
31- scp target/gitools-2.0.0 -bin.zip bgadmin@ankara:/usr/local/gitools/www/downloads/
31+ scp target/gitools-2.0.1 -bin.zip bgadmin@ankara:/usr/local/gitools/www/downloads/
3232
3333# Deploy Webstart
3434# change back to the gitools root folder
35- ./webstart-deploy.sh 2.0.0
35+ ./webstart-deploy.sh 2.0.1
3636
3737# Update this file on the server:
3838/usr/local/gitools/www/downloads/latest.txt
3939
4040# Commit the changes
41- git commit -a -m "Set version to 2.0.0 "
41+ git commit -a -m "Set version to 2.0.1 "
4242
4343# Finish the release or hotfix
44- git flow release finish gitools-2.0.0
45- git flow hotfix finish gitools-2.0.0
44+ git flow release finish gitools-2.0.1
45+ git flow hotfix finish gitools-2.0.1
4646
4747# Check that you are on develop branch
4848git checkout develop
4949
5050# Update pom.xml versions to new SNAPSHOT version
5151
5252# Check that you are going to update only the correct versions:
53- find . -name pom.xml | awk '{ system("sed 0,/2.0.0 /s//2.1.0-SNAPSHOT/ "$0)}' | grep -A2 -B3 2.1.0-SNAPSHOT
53+ find . -name pom.xml | awk '{ system("sed 0,/2.0.1 /s//2.1.0-SNAPSHOT/ "$0)}' | grep -A2 -B3 2.1.0-SNAPSHOT
5454
5555# Update all like this:
5656find . -name pom.xml | awk '{ system("sed -i 0,/2.0.0/s//2.1.0-SNAPSHOT/ "$0)}'
0 commit comments