-
Notifications
You must be signed in to change notification settings - Fork 432
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
Add Changesets #1513
Add Changesets #1513
Conversation
.changeset/tasty-scissors-glow.md
Outdated
'@atproto/api': patch | ||
--- | ||
|
||
Testing out changesets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If merged, this should result in a patch
for api
, an update of the api
package in each package that relies on it, and a patch
of their versions as well.
In the CHANGELOG.md
, this comment will appear along with the git hash so that changes can be easily linked to the actual edited files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this, but you get the idea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this all LGTM 👍
excited to see it in action
913c912
to
1123270
Compare
037ac89
to
47c8975
Compare
on: | ||
push: | ||
branches: | ||
- main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will run on merge into main
, but will only publish if ./.changeset/*.md
are present.
commit: "Version packages" | ||
title: "Version packages" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can change these values to whatever we want
* add changesets * clean up scripts * remove test changeset * only build containers on push to production, clean up other workflows * keep building from main * remove production branch for now
* add changesets * clean up scripts * remove test changeset * only build containers on push to production, clean up other workflows * keep building from main * remove production branch for now
This PR adds Changesets into the mix. Changesets handles versioning, publishing, the creation of
CHANGELOG.md
documents, git tags and GitHub releases.The basic process is this:
This PR contains an example changeset atm.
From this point:
*.md
files from.changeset
dir, and creates and maintains a separate PR with the version bumps requiredTODO
NPM_TOKEN
to this repo's secrets