mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-29 21:50:16 +01:00
Bump version number to v0.15.0 and add RC build logic to CI script
This commit is contained in:
parent
25189e2aff
commit
2b864a771f
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -5,7 +5,7 @@ name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master, development ]
|
||||
branches: [ master, development, '**-RC' ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@ -48,13 +48,17 @@ jobs:
|
||||
uses: actions/github-script@v3
|
||||
env:
|
||||
IS_DEV: ${{ contains(github.ref, 'development') }}
|
||||
IS_RC: ${{ contains(github.ref, 'RC') }}
|
||||
VERSION_NUMBER_NIGHTLY: ${{ env.PACKAGE_VERSION }}-nightly-${{ github.run_number }}
|
||||
VERSION_NUMBER_RC: ${{ env.PACKAGE_VERSION }}-RC-${{ github.run_number }}
|
||||
VERSION_NUMBER: ${{ env.PACKAGE_VERSION }}
|
||||
with:
|
||||
result-encoding: string
|
||||
script: |
|
||||
if (${{ env.IS_DEV }}) {
|
||||
return "${{ env.VERSION_NUMBER_NIGHTLY }}"
|
||||
} else if (${{ env.IS_RC }}) {
|
||||
return "${{ env.VERSION_NUMBER_RC }}"
|
||||
} else {
|
||||
return "${{env.VERSION_NUMBER }}"
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "freetube",
|
||||
"productName": "FreeTube",
|
||||
"description": "A private YouTube client",
|
||||
"version": "0.14.0",
|
||||
"version": "0.15.0",
|
||||
"license": "AGPL-3.0-or-later",
|
||||
"main": "./dist/main.js",
|
||||
"private": true,
|
||||
|
Loading…
Reference in New Issue
Block a user