Skip to content

Commit 3a3f1e9

Browse files
authored
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
1 parent ae61463 commit 3a3f1e9

File tree

4 files changed

+8
-17
lines changed

4 files changed

+8
-17
lines changed

.github/workflows/release-beta.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
# bazel-bin symlink may not exist
3535
files: |
3636
bazel-out/k8-fastbuild/bin/chrome-ssh-agent-beta.zip
37+
bazel-out/k8-fastbuild/bin/chrome-ssh-agent.zip
3738
- name: Publish to Webstore
3839
uses: mnao305/[email protected]
3940
with:

.github/workflows/release.yml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,22 @@ jobs:
88
release:
99
if: startsWith(github.ref, 'refs/tags/v')
1010
runs-on: ubuntu-latest
11-
permissions:
12-
# This is broad, but unfortunately it is required for creating
13-
# releases.
14-
contents: write
1511
steps:
1612
- uses: actions/checkout@v4
17-
- uses: bazelbuild/setup-bazelisk@v2
1813
- name: Check Manifest
1914
run: |
2015
MANIFEST_VERSION=$(cat manifest.json | python3 -c "import sys, json; print(json.load(sys.stdin)['version'])")
2116
TAG_VERSION=${{ github.ref_name }}
2217
test "v${MANIFEST_VERSION}" = "${TAG_VERSION}"
23-
- run: bazel build ...
24-
- run: bazel test --test_output=errors ...
25-
- name: Create Release
26-
uses: softprops/action-gh-release@v1
18+
# Release artifacts were published with the beta. Fetch instead of rebuilding.
19+
- uses: robinraju/[email protected]
2720
with:
28-
generate_release_notes: true
29-
fail_on_unmatched_files: true
30-
# bazel-bin symlink may not exist
31-
files: |
32-
bazel-out/k8-fastbuild/bin/chrome-ssh-agent.zip
21+
tag: ${{ github.ref_name }}
22+
fileName: chrome-ssh-agent.zip
3323
- name: Publish to Webstore
3424
uses: mnao305/[email protected]
3525
with:
36-
file-path: bazel-out/k8-fastbuild/bin/chrome-ssh-agent.zip
26+
file-path: chrome-ssh-agent.zip
3727
extension-id: eechpbnaifiimgajnomdipfaamobdfha
3828
client-id: ${{ secrets.WEBSTORE_CLIENT_ID }}
3929
client-secret: ${{ secrets.WEBSTORE_CLIENT_SECRET }}

manifest-beta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SSH Agent for Google Chrome™ (BETA)",
3-
"version": "0.0.27",
3+
"version": "0.0.28",
44
"description": "Provides an SSH Agent implementation for Chrome's Secure Shell extension",
55
"manifest_version": 3,
66
"icons": {

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "SSH Agent for Google Chrome™",
3-
"version": "0.0.27",
3+
"version": "0.0.28",
44
"description": "Provides an SSH Agent implementation for Chrome's Secure Shell extension",
55
"manifest_version": 3,
66
"icons": {

0 commit comments

Comments
 (0)