Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Changesets 🎉 #338

Merged
merged 4 commits into from
Jan 24, 2025
Merged

Introduce Changesets 🎉 #338

merged 4 commits into from
Jan 24, 2025

Conversation

melanieseltzer
Copy link
Collaborator

Introduce Changesets to help us manage versioning/publishing/changelogs.

Copy link

vercel bot commented Oct 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dev-mantle-docs ✅ Ready (Inspect) Visit Preview Jan 24, 2025 5:00pm
1 Skipped Deployment
Name Status Preview Updated (UTC)
mantle-docs ⬜️ Ignored (Inspect) Visit Preview Jan 24, 2025 5:00pm

Comment on lines -31 to -34
- name: Grab the released version and store it in an env variable
run: |
VERSION=$(jq -r '.version' ./packages/mantle/package.json)
echo "MANTLE_VERSION=$VERSION" >> $GITHUB_ENV
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We get outputs from the changesets action, so we can remove this step 🙂 https://github.com/changesets/action?tab=readme-ov-file#outputs


jobs:
publish:
runs-on: ubuntu-latest
if: github.repository == 'ngrok-oss/mantle'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think technically we should have this guard, since we're a public repo that could get forked.

Copy link
Collaborator

@cody-dot-js cody-dot-js left a comment

Choose a reason for hiding this comment

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

let's give it a whirl and fix anything (including gameplan/recipes/documentation) in a follow up

@melanieseltzer melanieseltzer merged commit c5ef215 into main Jan 24, 2025
5 checks passed
@melanieseltzer melanieseltzer deleted the changesets branch January 24, 2025 17:05
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