atomicdata-dev / atomic-server

An open source headless CMS / real-time database. Powerful table editor, full-text search, and SDKs for JS / React / Svelte.
https://atomicserver.eu
MIT License
1.02k stars 46 forks source link

Improve flow for bumping, publishing, releasing #957

Open joepio opened 2 months ago

joepio commented 2 months ago

Thoughts

Right now releasing a new version is too much manual work:

In browser

In the rust crates

  1. Commit changes
  2. Make sure all tests run properly
  3. Test, build and update the /browser versions (package.json files, see ./browser/contributing.md)
  4. Use cargo workspaces version patch --no-git-commit (and maybe replace patch with the minor) to update all cargo.toml files in one command. You'll need to cargo install cargo-workspaces if this command is not possible.
  5. Publish to cargo: cargo publish. First lib, then cli and server.
  6. Publish to npm (see browser/contribute.md)
  7. Update the CHANGELOG.md files (browser and root)

Solutions

joepio commented 2 months ago

release-plz

https://github.com/atomicdata-dev/atomic-server/actions/runs/10579544307/job/29312265327#step:4:412

issues so far

joepio commented 1 month ago

Release-please