-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish prod release when creating release artifacts. Bump to version…
… 0.0.28. (#173) * Publish prod release when creating release artifacts. * Fix path to downloaded release. * Bump to version 0.0.28
- Loading branch information
Showing
4 changed files
with
8 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ jobs: | |
# bazel-bin symlink may not exist | ||
files: | | ||
bazel-out/k8-fastbuild/bin/chrome-ssh-agent-beta.zip | ||
bazel-out/k8-fastbuild/bin/chrome-ssh-agent.zip | ||
- name: Publish to Webstore | ||
uses: mnao305/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,32 +8,22 @@ jobs: | |
release: | ||
if: startsWith(github.ref, 'refs/tags/v') | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# This is broad, but unfortunately it is required for creating | ||
# releases. | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: bazelbuild/setup-bazelisk@v2 | ||
- name: Check Manifest | ||
run: | | ||
MANIFEST_VERSION=$(cat manifest.json | python3 -c "import sys, json; print(json.load(sys.stdin)['version'])") | ||
TAG_VERSION=${{ github.ref_name }} | ||
test "v${MANIFEST_VERSION}" = "${TAG_VERSION}" | ||
- run: bazel build ... | ||
- run: bazel test --test_output=errors ... | ||
- name: Create Release | ||
uses: softprops/action-gh-release@v1 | ||
# Release artifacts were published with the beta. Fetch instead of rebuilding. | ||
- uses: robinraju/[email protected] | ||
with: | ||
generate_release_notes: true | ||
fail_on_unmatched_files: true | ||
# bazel-bin symlink may not exist | ||
files: | | ||
bazel-out/k8-fastbuild/bin/chrome-ssh-agent.zip | ||
tag: ${{ github.ref_name }} | ||
fileName: chrome-ssh-agent.zip | ||
- name: Publish to Webstore | ||
uses: mnao305/[email protected] | ||
with: | ||
file-path: bazel-out/k8-fastbuild/bin/chrome-ssh-agent.zip | ||
file-path: chrome-ssh-agent.zip | ||
extension-id: eechpbnaifiimgajnomdipfaamobdfha | ||
client-id: ${{ secrets.WEBSTORE_CLIENT_ID }} | ||
client-secret: ${{ secrets.WEBSTORE_CLIENT_SECRET }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters