ci: add automatic releases

This commit is contained in:
Aikawa Yataro 2024-08-03 10:01:02 +00:00
parent 455ad657a7
commit 073b5aaf9e
No known key found for this signature in database
GPG key ID: 1C5D95FB10179404
5 changed files with 263 additions and 0 deletions

View 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