Changed up the workflow when it comes to creating a release and building on the main branch
Before when changesets wants to bump the version it would create a PR. On merging this PR it would trigger another workflow while the one that was triggered originally from pushing code into the main branch was running which was not intended
So changed things up like so:
on push: create draft release and tags -> wait for user to merge PR with version bump -> trigger the complete release flow which builds and attaches app bundles to the release.
Changesets probably has a way of automating the PR version bump but, I like the idea of timing when the release goes up.
Other things:
Added a write permission to the updater job in the complete release flow as that was preventing the updater from notifying the user of a new update (I will test this later down the line when the app is actually function now )
Description
So changed things up like so:
on push: create draft release and tags -> wait for user to merge PR with version bump -> trigger the complete release flow which builds and attaches app bundles to the release.
Changesets probably has a way of automating the PR version bump but, I like the idea of timing when the release goes up.
Other things: