Debian Codegraph @

package-github-binaries.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 set -u -e -o pipefail
4
5 mkdirscip-shell system . . mkdir. -p dist
6
7 for build in $(lsscip-shell system . . ls. .build); do
8 echoscip-shell system . . echo. "Creating archive for ${build}"
9
10 cpscip-shell system . . cp. LICENSE README.md ".build/${build}/"
11
12 if [[ "${build}" =~ windows-.*$ ]] ; then
13
14 # Make sure to clear out zip files to prevent zip from appending to the archive.
15 rmscip-shell system . . rm. "dist/${build}.zip" || truescip-shell system . . true.
16 cd ".build/" && zip -r --quiet -9 "../dist/${build}.zip" "${build}" && cd ../
17 else
18 tarscip-shell system . . tar. -C ".build/" -czf "dist/${build}.tar.gz" "${build}"
19 fi
20 done
21
22 cd dist
23 sha256sumscip-shell system . . sha256sum. *.gz *.zip > sha256sums.txt
24 lsscip-shell system . . ls. -la
25 cd ..
26