mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2024-11-28 13:08:53 +03:00
added build versioning
This commit is contained in:
parent
65fccb8cf4
commit
f4d18abd81
1 changed files with 9 additions and 5 deletions
14
.github/workflows/dev-deploy.yml
vendored
14
.github/workflows/dev-deploy.yml
vendored
|
@ -8,16 +8,20 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
- name: Install & build
|
||||
uses: actions/setup-node@master
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- uses: montudor/action-zip@v0.1.0
|
||||
- name: Zip it
|
||||
uses: montudor/action-zip@v0.1.0
|
||||
with:
|
||||
args: zip -qq -r ./release.zip ./vuetorrent
|
||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||
- run: VERSION=$(sed 's/.*"version": "\(.*\)".*/\1/;t;d' package.json)
|
||||
- name: Push release
|
||||
uses: "marvinpinto/action-automatic-releases@latest"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: "dev-latest"
|
||||
automatic_release_tag: "dev-v$VERSION"
|
||||
prerelease: true
|
||||
title: "Development Build"
|
||||
title: "Development Build v$VERSION"
|
||||
files: release.zip
|
||||
|
|
Loading…
Reference in a new issue