ci: update firefox and chrome upload/publish process #1157
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR makes a few changes for the Chrome and Firefox to help improve the release workflow.
web-ext
To sign and publish the Firefox extension.web-ext-submit
is a simple wrapper aroundweb-ext
, except it prevents the inevitable and unrelated "it could not be signed error", which is a deep issue in theweb-ext
package. Despite the error, the package still gets uploaded for review just fine. This minor change should help reduce minor errors which otherwise fail the build regardless of the result.web-ext
issue is resolved. Thus, the steps to find and upload an XPI package will never work, so I removed it. I removed the Chrome upload to the GH summary and GCP because it would be missing its FF counterpart and it feels unnecessary since it's easy enough to create locally viash build-ext.sh
.Publish Extensions
for disambiguation because there's a different workflow in the app.blockstack.org branch with the same name.Some Remaining Issues
This PR does not definitively resolve upload issues for Chrome nor Firefox, but it should help expose the root underlying problem(s) involved with publishing, reduce failures due to unrelated errors, and allow us to more easily publish and test publishes locally if needed for any reason.
Type of Change
Does this introduce a breaking change?
The
web-ext
package was moved from regular dependencies to a dev dependency. I don't think it should have any effect though.Are documentation updates required?
No.
Checklist