Skip to content

chore: add release:v3 script and update workflow for 3.x branch - SFS-3144#3286

Merged
eduardoformiga merged 2 commits intodevfrom
chore/release-branch-v3
May 4, 2026
Merged

chore: add release:v3 script and update workflow for 3.x branch - SFS-3144#3286
eduardoformiga merged 2 commits intodevfrom
chore/release-branch-v3

Conversation

@eduardoformiga
Copy link
Copy Markdown
Member

  • Added a new script "release:v3" in package.json for versioning and publishing with a dist-tag of v3-latest.
  • Updated GitHub Actions workflow to include a new job for publishing on the 3.x branch.

What's the purpose of this pull request?

release.yml

  • Linha 93.x adicionado ao trigger de branches
  • Linhas 75-77 — Step Publish (3.x) com condição if: github.ref_name == '3.x' apontando para pnpm release:v3

package.json

  • Linha 22 — Script release:v3 com lerna version --conventional-commits --yes && lerna publish from-git --dist-tag=v3-latest --yes
  • Sem --conventional-graduate (correto, pois no 3.x não haverá prereleases para graduar)
  • Sem --conventional-prerelease (correto, pois serão releases estáveis da v3)
  • Com --dist-tag=v3-latest (correto, para não sobrescrever a tag latest que será da v4)

Os hotfixes da v3 publicados a partir do branch 3.x serão instaláveis via npm install @faststore/core@v3-latest e não vão interferir com a tag latest da v4.

Nota importante: não usem pnpm release (o mesmo da main) no branch 3.x, porque esse comando usa --conventional-graduate que é para graduar prereleases. No 3.x, hotfixes serão commits normais (fix:, feat:) e o lerna version --conventional-commits (sem graduate) é o adequado — ele vai gerar 3.99.1, 3.99.2, etc., baseado nos commits.

- Added a new script "release:v3" in package.json for versioning and publishing with a dist-tag of v3-latest.
- Updated GitHub Actions workflow to include a new job for publishing on the 3.x branch.
@eduardoformiga eduardoformiga requested a review from a team as a code owner April 29, 2026 21:52
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 29, 2026

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (2)
  • .github/workflows/release.yml is excluded by none and included by none
  • package.json is excluded by none and included by none

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1d1a7907-0e54-4fa2-8f13-8445a12db815

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/release-branch-v3

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented Apr 29, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@eduardoformiga eduardoformiga changed the title chore: add release:v3 script and update workflow for 3.x branch chore: add release:v3 script and update workflow for 3.x branch - SFS-3144 Apr 29, 2026
- Added a condition to the Chromatic publishing step to skip execution on the 3.x branch, ensuring that releases are managed appropriately across different branches.
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 30, 2026

Open in StackBlitz

@faststore/api

yarn add https://pkg.pr.new/vtex/faststore/@faststore/api@14d48c9.tgz

@faststore/cli

yarn add https://pkg.pr.new/vtex/faststore/@faststore/cli@14d48c9.tgz

@faststore/components

yarn add https://pkg.pr.new/vtex/faststore/@faststore/components@14d48c9.tgz

@faststore/core

yarn add https://pkg.pr.new/vtex/faststore/@faststore/core@14d48c9.tgz

@faststore/graphql-utils

yarn add https://pkg.pr.new/vtex/faststore/@faststore/graphql-utils@14d48c9.tgz

@faststore/lighthouse

yarn add https://pkg.pr.new/vtex/faststore/@faststore/lighthouse@14d48c9.tgz

@faststore/sdk

yarn add https://pkg.pr.new/vtex/faststore/@faststore/sdk@14d48c9.tgz

@faststore/ui

yarn add https://pkg.pr.new/vtex/faststore/@faststore/ui@14d48c9.tgz

commit: 14d48c9

@eduardoformiga eduardoformiga merged commit 9196a39 into dev May 4, 2026
6 of 7 checks passed
@eduardoformiga eduardoformiga deleted the chore/release-branch-v3 branch May 4, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants