add new release script

Signed-off-by: Alexis Tyler <xo@wvvw.me>
This commit is contained in:
Alexis Tyler
2019-09-30 15:35:01 +09:30
parent 4d0aaa378a
commit 7708bac87f
3 changed files with 67 additions and 4 deletions

View File

@@ -37,9 +37,11 @@ jobs:
run: npm run build
- name: Packing release
run: npm pack
- name: Uploading release to Github
uses: OmgImAlexis/upload-to-release@master
with:
args: unraid-graphql-api-*.tgz
- name: Install hub
uses: geertvdc/setup-hub@master
- name: Create the release
env:
GITHUB_USER: ${{ secrets.GITHUB_USER }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO: ${{ github.repository }}
run: .github/release.sh