mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-14 15:15:00 +00:00
ci: add automatic releases
This commit is contained in:
parent
455ad657a7
commit
073b5aaf9e
5 changed files with 263 additions and 0 deletions
19
build/ci/package.windows-portable.sh
Executable file
19
build/ci/package.windows-portable.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue