mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 02:40:24 +08:00
* remove unused build scripts since we use github CI to automate releases * rename build/ci to build/scripts * cleanup solution file
20 lines
316 B
Bash
Executable File
20 lines
316 B
Bash
Executable File
#!/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
|