Debian Codegraph @

misc/publish-release

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2
3 # Usage: publish-release <version> <sources-tgz> <sources-tgz-devel> <prebuilt>...
4
5 VERSION="$1"
6 shift
7 TGZ="$1"
8 shift
9 TGZ_DEVEL="$1"
10 shift
11 PREBUILT="$*"
12
13 echoscip-shell system . . echo. "These files will be published for version $VERSION:"
14 echoscip-shell system . . echo. " ==> $TGZ"
15 echoscip-shell system . . echo. " ==> $TGZ_DEVEL"
16 for file in $PREBUILT; do
17 echoscip-shell system . . echo. " ==> $file"
18 done
19 echoscip-shell system . . echo. "You will have to enter the Gambit web site password to confirm the operation."
20 echoscip-shell system . . echo. ""
21
22 tarscip-shell system . . tar. cf - $TGZ $TGZ_DEVEL $PREBUILT | sshscip-shell system . . ssh. -o PreferredAuthentications=keyboard-interactive,password [email protected] "rm -rf release-$VERSION;mkdir release-$VERSION;(cd release-$VERSION && tar xvf -);bin/publish-release $VERSION $TGZ $TGZ_DEVEL $PREBUILT;rm -rf release-$VERSION"