diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 130b76cb8..618d3a976 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}" } diff --git a/package.json b/package.json index cbbf6817d..67a549ecf 100644 --- a/package.json +++ b/package.json @@ -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,