IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

refactor: use version script in reusable actions #2206

Closed chrismclarke closed 4 months ago

chrismclarke commented 4 months ago

PR Checklist

Description

Targets #2198

Review Notes

Can test variations of setting package.json and android build.gradle versions via

yarn run version [number] --android --package

all args after version are optional, prompting input if no version code set and can be applied to android, package or both

Untested in github actions (not sure the best way to trigger a deployment to call)

Git Issues

Closes #

Screenshots/Videos

Example - if version code not specified input prompted with validation (allows re-editing version) image

Example - output if specifying number directly (with invalid code) image