From 2b864a771fa4d76cf445f85766b2970dad3d19ea Mon Sep 17 00:00:00 2001 From: PrestonN Date: Fri, 1 Oct 2021 09:37:04 -0400 Subject: [PATCH] Bump version number to v0.15.0 and add RC build logic to CI script --- .github/workflows/build.yml | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 130b76cb..618d3a97 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 cbbf6817..67a549ec 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,