From c8c0016296aa4b328961298d5ccc8a3d7dbdd347 Mon Sep 17 00:00:00 2001 From: Dru Hill Date: Mon, 18 Dec 2023 12:00:04 +0000 Subject: [PATCH] chore: update release config to include beta branch --- .github/workflows/copy-package.yaml | 2 +- .github/workflows/lint.yaml | 2 +- .github/workflows/semantic-release.yaml | 1 + release.config.js | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/copy-package.yaml b/.github/workflows/copy-package.yaml index 0e27d264..9ee48909 100644 --- a/.github/workflows/copy-package.yaml +++ b/.github/workflows/copy-package.yaml @@ -3,7 +3,7 @@ name: Copy released package to X3 on: workflow_dispatch: release: - types: [published] + types: [released] jobs: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 49242c55..e550083b 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -3,7 +3,7 @@ on: pull_request: branches: - master - - main + - beta jobs: run-linters: name: Run linters diff --git a/.github/workflows/semantic-release.yaml b/.github/workflows/semantic-release.yaml index dbc36fd1..77760be3 100644 --- a/.github/workflows/semantic-release.yaml +++ b/.github/workflows/semantic-release.yaml @@ -4,6 +4,7 @@ on: push: branches: - master + - beta jobs: # Builds token library from current data/tokens.json file and releases it. diff --git a/release.config.js b/release.config.js index 5854f04f..a5e1dab8 100644 --- a/release.config.js +++ b/release.config.js @@ -6,7 +6,7 @@ const CHANGELOG = 'docs/CHANGELOG.md' const PACKAGE_JSON = 'package.json' module.exports = { - branches: ['master'], + branches: ['master', {name: 'beta', prerelease: true}], plugins: [ '@semantic-release/commit-analyzer', '@semantic-release/release-notes-generator',