-
Notifications
You must be signed in to change notification settings - Fork 61
Improve flow for bumping, publishing, releasing #957
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
Labels
ci
Github actions / e2e tests / build / etc
Comments
joepio
added a commit
that referenced
this issue
Aug 27, 2024
release-plz
https://github.com/atomicdata-dev/atomic-server/actions/runs/10579544307/job/29312265327#step:4:412 issues so far
|
Release-please
|
Changesetsalso has a rust crate that creates the changeset files, but doesn't bump rust crates. For that, we need something like KnopeUses Changesets to automate all the publishing / release stuff. But only rust, no NPM! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thoughts
Right now releasing a new version is too much manual work:
In
browser
pnpm lint-fix
pnpm build
to build typescript files (don't skip this!)atomic-server
is running onlocalhost
.pnpm test
pnpm test-e2e
package.json
files forlib
,rust
, anddata-browser
with a new version number. Match the version number withatomic-data-rust
vX.XX.XX
pnpm publish -r
atomic-data-rs
.package.json
files, creates a commit, tags it, pushes it to github, and publishes the builds to npm.pnpm version patch
andpnpm publish
pnpm npm publish
, as it will not resolve workspace dependencies correctly.In the rust crates
/browser
versions (package.json
files, see./browser/contributing.md
)cargo workspaces version patch --no-git-commit
(and maybe replacepatch
with theminor
) to update allcargo.toml
files in one command. You'll need tocargo install cargo-workspaces
if this command is not possible.cargo publish
. Firstlib
, thencli
andserver
.npm
(seebrowser/contribute.md
)CHANGELOG.md
files (browser and root)Solutions
cargo-release
automates bumping versions and publishing. I used it some time ago, for somereason removed it from the docs. I recall having some issues with it.release-plz
, which creates PRs for releases. Written in rust, supports only rust.release-please
, does the same, typescript, by google. Supports rust workspaces with a plugin, but also supports pnpm.The text was updated successfully, but these errors were encountered: