mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-05 00:38:49 +00:00
Use Github Actions instead of Travis
Moved MSVC to Github Actions as well.
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
# Copy documentation
|
||||
cp license.txt "$REV_NAME"
|
||||
cp README.md "$REV_NAME"
|
||||
|
||||
cp dist/threeSDumper.gm9 "$REV_NAME/dist"
|
||||
|
||||
7z a "$REV_NAME.zip" $REV_NAME
|
||||
|
||||
# move the compiled archive into the artifacts directory to be uploaded by gh action releases
|
||||
mv "$REV_NAME.zip" artifacts/
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
GITDATE="`git show -s --date=short --format='%ad' | sed 's/-//g'`"
|
||||
GITREV="`git show -s --format='%h'`"
|
||||
if [[ $GITHUB_REF == refs/tags/* ]]; then
|
||||
GITNAME="${GITHUB_REF:10}"
|
||||
else
|
||||
GITNAME="${GITDATE}-${GITREV}"
|
||||
fi
|
||||
|
||||
mkdir -p artifacts
|
||||
Reference in New Issue
Block a user