Skip to content

Adds prepare pre release flow. Closes #695#744

Draft
Adam-it wants to merge 6 commits intopnp:mainfrom
Adam-it:adds-prepare-pre-release-flow
Draft

Adds prepare pre release flow. Closes #695#744
Adam-it wants to merge 6 commits intopnp:mainfrom
Adam-it:adds-prepare-pre-release-flow

Conversation

@Adam-it
Copy link
Copy Markdown
Member

@Adam-it Adam-it commented Mar 22, 2026

🎯 Aim

The aim of this PR is to introduce a new GitHub workflow which will prepare dev branch for running pre-release.
That way if we will want to perform a pre-release from a mobile it will be as simple as:

  1. Run the pre-release workflow
  2. This will open a PR that targets dev branch with updated patch version in package.json and npm-shrinkwrap.json. We should review it, to double-check, and merge as any other PR
  3. Run pre-release workflow

That's it. No manual local checkout and updating versions on our own.

📷 Result

I don't have any images to show, but I already tested it on my fork.

✅ What was done

  • Added a PS script that bumps the patch version in package.json
  • Updated package.json and npm-shrinkwrap.json formatting to 2 spaces - this change is a bit tricky. Currently, in package.json and npm-shrinkwrap.json, a single tab (4 spaces) is used for code formatting. Unfortunately, the PowerShell 7+ Convert-toJson method does not allow to set this and defaults to 2 spaces for formatting. So in order to have a clean PR with only changed version numbers I had to aling this formatting before hand to make it ready for first flow run
  • Added a prepare pre-release flow

🔗 Related issue

Closes: #695

@Adam-it Adam-it marked this pull request as draft March 30, 2026 23:47
@Adam-it
Copy link
Copy Markdown
Member Author

Adam-it commented Mar 30, 2026

need to resolve conflicts after the minor release before we continue with this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prepare pre-release workflow

1 participant