File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,10 +52,28 @@ jobs:
5252
5353 - name : Run build script
5454 run : ./build
55+
56+ - name : Create GitHub Release
57+ uses : softprops/action-gh-release@v1
58+ with :
59+ tag_name : latest-release
60+ name : " GraphScript Installer - $(date +'%Y-%m-%d')"
61+ files : |
62+ GSInstallerMac.zip
63+ version
64+ env :
65+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
66+
67+ - name : README
68+ run : |
69+ URL="https://github.com/GraphScript-Labs"
70+ DIR="/installer/releases/download/latest-release/"
71+ FILE="GSInstallerMac.zip"
72+ echo "$URL$DIR$FILE" > README.md
5573
5674 - name : Clean up source files
5775 run : |
58- find . -mindepth 1 -maxdepth 1 ! -name 'GSInstallerMac.zip ' ! -name '.git' -exec rm -rf {} +
76+ find . -mindepth 1 -maxdepth 1 ! -name 'README.md ' ! -name '.git' -exec rm -rf {} +
5977
6078 - name : Version File
6179 run : |
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ chmod 755 dist/Contents/runtime/bin/*
5050
5151cat > "dist/Contents/MacOS/launcher.sh" <<EOF
5252#!/bin/bash
53+
5354DIR="\$(cd "\$(dirname "\$0")" && pwd)"
5455RUNTIME_DIR="\$DIR/../runtime"
5556SOURCE_DIR="\$DIR/../src"
You can’t perform that action at this time.
0 commit comments