Contains a directory with Sourcegraph code intelligence and default extensions bundles for customers to publish to their private registries and a script to update that bundles.
- (Optional) If the publish step will be performed by another user, simply provide them with the
bundles
folder. - From the
bundles
folder, runnpm run publish
.-
This runs the
publish.js
script in thebundles
folder. -
The script requires the following environment variables:
Environment Variable Description SRC_ENDPOINT
See src-cli
's README for more information.SRC_ACCESS_TOKEN
See src-cli
's README for more information.PUBLISHER
The name of the publisher -
NOTE: You do not need to have
src-cli
installed for this script to work.
-
- Update the
default-extensions.txt
file with the extension IDs you want to bundle (code-intel extensions are bundled by default). - Run
npm run build
. - Publish new release. Version tag should be the same as the current Sourcegraph version.