From 7883cd642ece36d3c41e1629d1a2f58c6e91edce Mon Sep 17 00:00:00 2001 From: saeedjamshaid Date: Mon, 8 Sep 2025 12:49:09 +0500 Subject: [PATCH] ci: update release workflow to support beta release --- .github/workflows/release.yml | 6 +++--- README.md | 2 +- release.config.cjs | 10 +++++++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c06029da4..2b03be608 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release on: push: - branches: [ alpha ] + branches: [ alpha, beta ] jobs: release: @@ -13,7 +13,7 @@ jobs: name: Release with Node version ${{ matrix.node }} steps: - name: Checkout CLI - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: repository: apimatic/apimatic-cli token: ${{ secrets.GITHUB_TOKEN }} @@ -22,7 +22,7 @@ jobs: path: cli - name: setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 - name: Install dependencies working-directory: cli diff --git a/README.md b/README.md index 1b79ffafa..5e01b2a65 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The official CLI for APIMatic. To get started with APIMatic's CLI using a step by step wizard, run the following command: ```sh-session -$ apimatic portal:quickstart +$ apimatic portal quickstart ``` # Usage diff --git a/release.config.cjs b/release.config.cjs index 1336371ad..d1c260cea 100644 --- a/release.config.cjs +++ b/release.config.cjs @@ -1,10 +1,13 @@ // eslint-disable-next-line no-undef module.exports = { branches: [ - "v3", { name: "alpha", prerelease: true + }, + { + name: "beta", + prerelease: true } ], plugins: [ @@ -21,8 +24,9 @@ module.exports = { [ "@semantic-release/git", { - assets: ["CHANGELOG.md", "dist/**"], - message: "chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + assets: ["CHANGELOG.md", "package.json"], + message: + "chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ]