| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Co-authored-by: Edoardo Pirovano <6748066+edoardopirovano@users.noreply.github.com>
There was a problem hiding this comment.
LGTM, but would be good to add the whitespace change in first.
Sorry, something went wrong.
Co-authored-by: Andrew Eisenberg <aeisenberg@github.com>
| Back | FazBrowse Home | New Git URL |
This fixes a bug in the "Update release branch" workflow that could occur when there are merge conflicts in package.json. These merge conflicts cause the npm version command to fail, but this failure was not causing the workflow itself to fail. As a result, we merged a v2 -> v1 backport that did not update the version number in package.json. The "Tag release and merge back" workflow subsequently did not update the v1 release tag, so the v1 release did not occur.
As a fix, we use subprocess.check_output instead of subprocess.run to check the exit code and fail the workflow if there are merge conflicts bad enough to prevent us from updating the package version.
Merge / deployment checklist