From d01d5223c3c7eb2700b55ec82472f163197608e3 Mon Sep 17 00:00:00 2001 From: Satrajit Ghosh Date: Tue, 30 May 2017 18:32:20 -0400 Subject: [PATCH] rel: fix github repo hashes for release --- Simple_Prep.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Simple_Prep.sh b/Simple_Prep.sh index d692cbf..950ed57 100755 --- a/Simple_Prep.sh +++ b/Simple_Prep.sh @@ -42,12 +42,12 @@ if [ ! -e scripts/expected_output ]; then echo "Getting the analysis repo" if [ $(command -v git) ]; then git clone https://github.com/ReproNim/simple_workflow scripts - # TODO: add git checkout of specific hash when finalized + cd scripts + git checkout a26e0c01227c8baa0756b9e95a0442d69e9c9e10 elif [ $(command -v unzip) ]; then - curl -ssL -o workdir.zip https://github.com/ReproNim/simple_workflow/archive/master.zip - # TODO: add download of specific commit hash when finalized + curl -ssL -o workdir.zip https://github.com/ReproNim/simple_workflow/archive/a26e0c01227c8baa0756b9e95a0442d69e9c9e10.zip unzip workdir.zip && rm workdir.zip - mv simple_workflow-master scripts + mv simple_workflow-a26e0c01227c8baa0756b9e95a0442d69e9c9e10 scripts else echo "Neither git not unzip available. Cannot download scripts" exit 1