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

Automate releasing #3763

Closed
1 of 6 tasks
sync-by-unito bot opened this issue May 28, 2021 · 4 comments · Fixed by #4588
Closed
1 of 6 tasks

Automate releasing #3763

sync-by-unito bot opened this issue May 28, 2021 · 4 comments · Fixed by #4588
Assignees
Labels

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented May 28, 2021

Releasing Realm JavaScript is a manual process, and we should be able to more most of it to CI. Pushing a new git tag should initialize the entire release process:

  • Set version (CHANGELOG.md, package.json, xcode project, dependencies.list)
  • Build and upload binaries for all platforms
  • Publish npm package
  • Upload API documentation
  • Notify in #realm-releases
  • Close Jira release
@sync-by-unito sync-by-unito bot added the CI label May 28, 2021
@geragray geragray added this to To do in CI modernisation May 28, 2021
@stoneyMDB
Copy link

This will be in GHA, not Jenkins. Let us know if you need more clarification. @kneth please confirm. (answering question from Slack thread)

@kneth
Copy link
Member

kneth commented Sep 9, 2021

Yes, it should be done in GHA. Tagging a git commit implies releasing.

@nirinchev
Copy link
Member

I'm not sure this is the best way to do it. Such a workflow would mean that tagging a release is done before the actual release is cut rather than the other way around. It will also require us to re-do a lot of the build steps that would have been done as part of a PR anyway. My suggestion would be to use a workflow similar to the .NET release process where you have first a dispatch workflow that creates the release PR, updating the changelog and any relevant versions and then a second dispatch workflow that picks up the artifacts from the PR build and does the release - publishing to npm, uploading docs, merging the release PR, as well as finally tagging the commit and publishing a github release.

@stoneyMDB stoneyMDB removed this from To do in CI modernisation May 18, 2022
@iamer iamer mentioned this issue May 24, 2022
10 tasks
@kneth
Copy link
Member

kneth commented Sep 2, 2022

The PR has been merged - closing

@kneth kneth closed this as completed Sep 2, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants