Open duhrer opened 7 months ago
@duhrer another option would be to evaluate if the CRX file is still needed. For example with UIO+ I just use an unpacked extension for testing, and then manually create the zip file for the release. I think you could automate that zip file creation though.
I haven't tried installing a manually zipped release myself, I should. If it's possible to do that there are certainly enough ways to make a ZIP file.
@dmahajan980, here is the issue I mentioned where we're tracking replacing the build process with something uniform.
In trying out the grunt "archive" task that packages up our
dist
directory, I can see that the grunt scripts are not aware of our npm scripts that handle SVG and CSS bundling. Although we can perform a multi-stage build when testing with an unpacked extension, we can't use Grunt to create a zip file, as itsarchive
task will start by blowing away the current contents ofdist
, including the SVG and CSS bundles.Long term, we should move away from Grunt. There seem to be a few npm modules to create CRX files, although the most used is very old and doesn't seem well maintained. There are newer forks.
We should also see if there are services that can assist, for example that integrate with GitHub actions.