Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Variable for number version to download
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreau committed Mar 14, 2014
1 parent 363b2f5 commit 7fcbba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function createAsciidoctorModule {
cp $asciidoctorJInRepoLocal .
fi
log "Download module.xml"
curl -O https://raw.github.com/mgreau/when-websocket-met-asciidoctor/v0.1.0-alpha3.preview1/module/org/asciidoctor/main/module.xml
curl -O https://raw.github.com/mgreau/when-websocket-met-asciidoctor/$appVersion/module/org/asciidoctor/main/module.xml
cd ../../..
else
log "Asciidoctor module is ready to install"
Expand All @@ -160,7 +160,7 @@ function createAsciidoctorModule {
#
function installApp {
log "Downloading and install app..."
curl -OL https://github.com/mgreau/when-websocket-met-asciidoctor/releases/download/v0.1.0-alpha3.preview1/ad-editor-0.1.0-alpha3.war
curl -OL https://github.com/mgreau/when-websocket-met-asciidoctor/releases/download/$appVersion/$appWAR
mv $appWAR $APP_SERVER_HOME/standalone/deployments
log "App deployed"
}
Expand Down

0 comments on commit 7fcbba2

Please sign in to comment.