Revision 524
org.gvsig.geoprocess/trunk/org.gvsig.geoprocess/distrib | ||
---|---|---|
3 | 3 |
#USER= |
4 | 4 |
#PASS= |
5 | 5 |
|
6 |
REPO="https://devel.gvsig.org/svn/gvsig-toolbox"
|
|
6 |
REPO="https://devel.gvsig.org/svn/gvsig-geoprocess"
|
|
7 | 7 |
|
8 | 8 |
INCREMENT=3 #1:major number 2:minor number 3:bug number |
9 | 9 |
PARAMETERS_LIN="-Dnative-platform=linux -Dnative-compiler=gcc4 -Dnative-arch=i386 -Dnative-distribution=all -Dlibrary-type=dynamic -Dnative-classifier=linux-all-gcc4-i386-dynamic -Dnative_classifier=linux-all-gcc4-i386-dynamic -Dmaven.test.skip" |
... | ... | |
27 | 27 |
|
28 | 28 |
NEXT_DEV_VERSION=$MAJOR_NUMBER"."$MINOR_NUMBER"."$BUG_NUMBER"-SNAPSHOT"; |
29 | 29 |
|
30 |
echo Fixed version:$VERSION_TO_FIX |
|
31 |
echo New development version:$NEXT_DEV_VERSION |
|
32 |
|
|
30 | 33 |
mvn release:prepare -B -DdryRun=false -Dtag=v$VERSION_TO_FIX -DreleaseVersion=$VERSION_TO_FIX -DdevelopmentVersion=$NEXT_DEV_VERSION -DpreparationGoals="clean install" -Dusername=$USER -Dpassword=$PASS -DignoreSnapshots=true -Darguments=$PARAMETERS_LIN |
31 | 34 |
|
32 | 35 |
read -p "¿Prepare de $i correcto? ¿Continuar? s/n: " CONTINUE |
... | ... | |
35 | 38 |
exit; |
36 | 39 |
fi |
37 | 40 |
|
38 |
mvn release:perform -Dusername=$USER -Dpassword=$PASS -Darguments=$PARAMETERS_LIN |
|
41 |
#mvn release:perform -Dusername=$USER -Dpassword=$PASS -Darguments=$PARAMETERS_LIN
|
|
39 | 42 |
|
40 | 43 |
read -p "¿Perform de $i correcto? ¿Continuar? s/n: " CONTINUE |
41 | 44 |
if [ "$CONTINUE" == "n" ]; then |
Also available in: Unified diff