bump-version.sh 886 Bytes
Newer Older
1
#!/bin/bash
Peter van 't Hof's avatar
Peter van 't Hof committed
2
#
3 4 5 6 7 8 9 10 11 12 13 14 15
# Biopet is built on top of GATK Queue for building bioinformatic
# pipelines. It is mainly intended to support LUMC SHARK cluster which is running
# SGE. But other types of HPC that are supported by GATK Queue (such as PBS)
# should also be able to execute Biopet tools and pipelines.
#
# Copyright 2014 Sequencing Analysis Support Core - Leiden University Medical Center
#
# Contact us at: sasc@lumc.nl
#
# A dual licensing mode is applied. The source code within this project is freely available for non-commercial use under an AGPL
# license; For commercial users or users who do not want to follow the AGPL
# license, please contact us to obtain a separate license.
#
16 17 18

DIR=`readlink -f \`dirname $0\``

Peter van 't Hof's avatar
Peter van 't Hof committed
19 20 21 22 23
if [ ! $1 ] ; then
    echo "usage: "`basename $0`" <version>"
    exit 1
fi

24
do
Peter van 't Hof's avatar
Peter van 't Hof committed
25
	mvn -f $DIR/pom.xml versions:set -DnewVersion=$1 -DgenerateBackupPoms=false
26 27
done