diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-20 12:43:41 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-20 12:43:41 +0200 |
commit | d2e3a3795f345fd78ead2cf06b1134b46f9d4bc4 (patch) | |
tree | f688a32d667bc2c44ef994d4a1895911758add61 /test/utils.bash | |
parent | dc180da2125df5eb8953ee98123ba7d73b676ff6 (diff) | |
download | app.sh-d2e3a3795f345fd78ead2cf06b1134b46f9d4bc4.tar.gz app.sh-d2e3a3795f345fd78ead2cf06b1134b46f9d4bc4.tar.bz2 app.sh-d2e3a3795f345fd78ead2cf06b1134b46f9d4bc4.tar.xz app.sh-d2e3a3795f345fd78ead2cf06b1134b46f9d4bc4.zip |
o Getting app-cat-conf to read from ~/.appconfig too.
Diffstat (limited to 'test/utils.bash')
-rw-r--r-- | test/utils.bash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/utils.bash b/test/utils.bash index ad80629..26be39d 100644 --- a/test/utils.bash +++ b/test/utils.bash @@ -42,10 +42,11 @@ mkzip() { } install_artifact() { + local version=${1-1.0-SNAPSHOT} describe -Dfile=`fix_path $APPSH_HOME/test/data/app-a.zip` -DgeneratePom PATH=$ORIG_PATH mvn deploy:deploy-file -Durl=$FIXED_REPO_URL \ -Dfile=`fix_path $APPSH_HOME/test/data/app-a.zip` -DgeneratePom \ - -DgroupId=org.example -DartifactId=app-a -Dversion=1.0-SNAPSHOT -Dpackaging=zip + -DgroupId=org.example -DartifactId=app-a -Dversion=$version -Dpackaging=zip } app() { |