Skip to content

Commit

Permalink
fix local copy of Extern/OPTI_SCIP during release prep
Browse files Browse the repository at this point in the history
  • Loading branch information
tholden committed Jun 27, 2018
1 parent 451b5f5 commit 5acd2b4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions DevTools/PrepareRelease.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
#!/bin/bash
shopt -s globstar
echo If you are running this for the first time on a machine, you should:
echo 1. Create the folder ../../OptiMex containing the *.mexw* files found from the last release in the Extern/Opti/Solvers and Extern/Opti/Utilities folders.
echo 2. Create the folders ../../ScipMex containing the *.mexw* files found from the last release in the Extern/OPTI_SCIP/Solvers folder.

cd ..

rm -f -r -d Extern/OPTI_SCIP
mkdir Extern/OPTI_SCIP
cd Extern/OPTI
find . -name "*scip*" -print | tar -c -f - -T - | ( cd ../OPTI_SCIP; tar -xf -)
cd ../..

git submodule foreach git pull --recurse-submodules
git submodule foreach git checkout master
git pull --recurse-submodules
Expand Down Expand Up @@ -48,8 +55,6 @@ rm -f Examples/SmetsWouters*/*.mat

echo 2

shopt -s globstar

rm -f -r -d -- **/.git*

echo 3
Expand Down

0 comments on commit 5acd2b4

Please sign in to comment.