This script:
- clones the webapps repo
- checks out the provided named branch (after checking that it exists)
- builds the
dist
directory - clones and pushes updates to
webassets
andwebassets.e
- raises a PR against the Teleport repo to update the submodule commit references
Run using a command like:
./update-teleport-webassets.sh -w gus/webassets-branch -t gus/teleport-branch
Argument | Description |
---|---|
-w |
webapps source branch name to build webassets from (often master ) |
-t |
teleport target branch name to raise a PR against (often master ) |
You will need to have the gh
utility installed on your system for the script to work. You can download it from https://github.com/cli/cli/releases/latest