| # Copyright 2022 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| set -eo pipefail |
| |
| # go to the right build directory |
| cd "${KOKORO_ARTIFACTS_DIR}/git/vscode-plugins" |
| |
| # setup environment variables & such |
| source ./.kokoro/gcp_ubuntu/setup.sh |
| |
| # Publish works as such: |
| # 1. install deps |
| ./.ci/install.sh |
| |
| # 2. run tests, like on normal CI runs |
| ./.ci/test.sh |
| |
| # 3. publish nightlies! |
| # key is set near the actual build config |
| ./.ci/publish-stable.sh |