mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
20 lines
316 B
Bash
20 lines
316 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
if [ -z "$VERSION" ]; then
|
||
|
echo "Provide the version as environment variable VERSION"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
if [ -z "$RUNTIME" ]; then
|
||
|
echo "Provide the runtime as environment variable RUNTIME"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
cd build
|
||
|
|
||
|
rm -rf SourceGit/*.pdb
|
||
|
|
||
|
zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit
|