Skip to content

ci: also move minor version tag on release#1

Merged
fern-support merged 2 commits intomainfrom
devin/1772494189-add-minor-version-tag
Mar 2, 2026
Merged

ci: also move minor version tag on release#1
fern-support merged 2 commits intomainfrom
devin/1772494189-add-minor-version-tag

Conversation

@Swimburger
Copy link
Copy Markdown
Member

@Swimburger Swimburger commented Mar 2, 2026

Summary

Extends the release workflow to also force-update the minor version tag when a semver release is published. Previously, publishing v1.1.0 would only update the v1 tag. Now it also updates v1.1, so consumers pinned to @v1.1 get patch updates automatically.

The minor tag is only created when the release tag has 3+ version parts (e.g., v1.1.0 → updates v1 + v1.1). Two-part tags like v1.1 only update the major tag v1.

This is the same change already shipped and verified in fern-api/sync-openapi, where it ran successfully for the v4.0.0 release.

Review & Testing Checklist for Human

  • Verify tag parsing handles your release tag format. The script expects vX.Y.Z tags. If this repo uses a different convention (e.g., setup-fern-cli@1.0.0), the sed 's/^v//' strip would not work correctly.
  • Test with a patch release (e.g., publish v1.0.1) and confirm both v1 and v1.0 tags are updated. The sync-openapi repo already validated v4.0.0v4 + v4.0, but this repo hasn't been tested yet.

Notes


Open with Devin

…d v1.1)

Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
@fern-support fern-support merged commit 358c76c into main Mar 2, 2026
3 checks passed
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

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