Skip to content

Commit

Permalink
Enable changesets for v2 releases (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdax98 authored Feb 17, 2025
1 parent 2e80382 commit 59945d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"fixed": [["@comet/*"]],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"baseBranch": "v2.x.x",
"updateInternalDependencies": "patch",
"ignore": ["comet-brevo-module-demo-api", "comet-brevo-module-demo-admin", "comet-brevo-module-demo-site"],
"snapshot": {
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release
name: Release (v2)

on:
push:
branches:
- main
- v2.x.x

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand Down Expand Up @@ -42,7 +42,8 @@ jobs:
uses: dotansimha/changesets-action@cbc5ff3569ae9861100a48b290f4e9c1b94e45b5
with:
version: pnpm run version
publish: pnpm run publish
publish: pnpm run publish --tag=stable-v2
title: "Version Packages (v2)"
createGithubReleases: aggregate
githubReleaseName: "${{ env.PUBLISHED_VERSION }}"
githubTagName: "v${{ env.PUBLISHED_VERSION }}"
Expand Down

0 comments on commit 59945d2

Please sign in to comment.