Skip to content

Commit

Permalink
use argument as commit id
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwechner committed Mar 26, 2015
1 parent ae5f21b commit 11d7a74
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .wyona-continuous/scripts/create-release.sh
Expand Up @@ -9,16 +9,17 @@ echo "Parent directory: $PARENT_DIR"
YANEL_SRC="$(dirname "$PARENT_DIR")"
echo "Yanel source directory: $YANEL_SRC"

#COMMIT_ID=$1
YANEL_REVISION=338f86612628fdd883ecd4cb541d054c184c5769
COMMIT_ID=$1
YANEL_REVISION=$COMMIT_ID
#YANEL_REVISION=338f86612628fdd883ecd4cb541d054c184c5769

cd $YANEL_SRC

rm -rf build/source-snapshots
./build.sh source-snapshot -Dyanel.revision=$YANEL_REVISION
#./build.sh bin-snapshot

scp build/source-snapshots/wyona-yanel-3.0.0-r${YANEL_REVISION}-src.zip wyona@www.yanel.org:src/yanel-node1/src/realms/yanel-website/data-repo/data/download/source-snapshots/.
#scp build/source-snapshots/wyona-yanel-3.0.0-r${YANEL_REVISION}-src.zip wyona@www.yanel.org:src/yanel-node1/src/realms/yanel-website/data-repo/data/download/source-snapshots/.

# TODO: Update Yanel website http://www.yanel.org/en/download/unix.html
# src/realms/yanel-website/data-repo/data/en/download/unix.html
Expand Down

0 comments on commit 11d7a74

Please sign in to comment.