From 53329cad383a81a0e3d9b4f520582db06c8bbe1f Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Wed, 23 Oct 2024 17:58:16 -0500 Subject: [PATCH 1/2] feat(config): alpha release start (#65) --- package.json | 2 +- src/semantic-release/base.js | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b5609a..0ade89a 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@kurocado-studio/style-guide", + "name": "@kurocado-studio/styleguide", "version": "0.0.0-semantically-released", "description": "Kurocado Studio's engineering style guide", "homepage": "https://github.com/Kurocado-Studio/styleguide", diff --git a/src/semantic-release/base.js b/src/semantic-release/base.js index 7989306..3c30b07 100644 --- a/src/semantic-release/base.js +++ b/src/semantic-release/base.js @@ -1,11 +1,26 @@ module.exports = { branches: [ 'main', + { + channel: 'alpha', + name: 'alpha', + prerelease: true, + }, + { + channel: 'beta', + name: 'beta', + prerelease: true, + }, { channel: 'canary', name: 'canary', prerelease: true, }, + { + channel: 'pre/rc', + name: 'pre/rc', + prerelease: 'rc', + }, ], plugins: [ '@semantic-release/commit-analyzer', From ecbc60fbef423aa2454ba6b81017a4eb9bc99c29 Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Wed, 23 Oct 2024 19:33:23 -0500 Subject: [PATCH 2/2] ci(config): update composite.release channels (#67) --- .github/workflows/composite.release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/composite.release.yml b/.github/workflows/composite.release.yml index ebffe9e..3fec2ed 100644 --- a/.github/workflows/composite.release.yml +++ b/.github/workflows/composite.release.yml @@ -12,8 +12,13 @@ jobs: release: runs-on: ubuntu-latest if: | - github.event_name == 'push' && - github.ref == 'refs/heads/main' + github.event_name == 'push' && ( + github.ref == 'refs/heads/alpha' || + github.ref == 'refs/heads/beta' || + github.ref == 'refs/heads/canary' || + github.ref == 'refs/heads/main' || + github.ref == 'refs/heads/pre/rc' + ) steps: - name: Checkout uses: actions/checkout@v4