Page MenuHomePhabricator

[native] Script to bump native version
ClosedPublic

Authored by ashoat on Thu, Mar 20, 7:24 PM.
Tags
None
Referenced Files
F5086244: D14486.id.diff
Sat, Mar 29, 7:06 PM
F5082330: D14486.id47514.diff
Sat, Mar 29, 9:01 AM
F5081989: D14486.id47515.diff
Sat, Mar 29, 7:25 AM
F5081127: D14486.id47519.diff
Sat, Mar 29, 4:59 AM
Unknown Object (File)
Fri, Mar 28, 6:05 PM
Unknown Object (File)
Fri, Mar 28, 5:23 PM
Unknown Object (File)
Wed, Mar 26, 1:56 PM
Unknown Object (File)
Wed, Mar 26, 10:15 AM
Subscribers
None

Details

Summary

Claude helped generate this. Will save me some time during release processes.

Test Plan

Ran the script and it worked!

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/versionBumpScript
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Accidentally had bumped version in version.js

Harbormaster returned this revision to the author for changes because remote builds failed.Thu, Mar 20, 7:45 PM
Harbormaster failed remote builds in B33804: Diff 47514!

Avoid setting type: "module" in native/package.json as it breaks some scripts

Harbormaster returned this revision to the author for changes because remote builds failed.Thu, Mar 20, 8:30 PM
Harbormaster failed remote builds in B33805: Diff 47515!

Add .mjs files to .flowconfig

Harbormaster returned this revision to the author for changes because remote builds failed.Thu, Mar 20, 8:56 PM
Harbormaster failed remote builds in B33806: Diff 47516!
native/scripts/update-mobile-version.mjs
5

LGTM, but:

  • don't we need to document it somewhere in some README?
  • as far as I understand to update the version you bump the version in version.mjs first, then run the script, can't we automate the first step too?
  • you can also automate making commits too later?
This revision is now accepted and ready to land.Fri, Mar 21, 12:32 AM
  • don't we need to document it somewhere in some README?

No, I don't think so. We don't really document the release process in the README.

  • as far as I understand to update the version you bump the version in version.mjs first, then run the script, can't we automate the first step too?

Yeah, and I think this could be done for keyserver and web too. But I'm starting with this script because it's currently the most annoying / rote part of the process for me. Hope to make further improvements at a later point.

  • you can also automate making commits too later?

Yeah agree we could improve the process further.

This revision was automatically updated to reflect the committed changes.