diff --git a/.github/workflows/release-beta.yml b/.github/workflows/release-beta.yml index 8d0ddc7f..1426b036 100644 --- a/.github/workflows/release-beta.yml +++ b/.github/workflows/release-beta.yml @@ -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/chrome-extension-upload@v4.0.1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1fea4f33..175b89b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/release-downloader@v1.8 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/chrome-extension-upload@v4.0.1 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 }} diff --git a/manifest-beta.json b/manifest-beta.json index d02f046a..97604964 100644 --- a/manifest-beta.json +++ b/manifest-beta.json @@ -1,6 +1,6 @@ { "name": "SSH Agent for Google Chrome™ (BETA)", - "version": "0.0.27", + "version": "0.0.28", "description": "Provides an SSH Agent implementation for Chrome's Secure Shell extension", "manifest_version": 3, "icons": { diff --git a/manifest.json b/manifest.json index 684b383b..0061aace 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name": "SSH Agent for Google Chrome™", - "version": "0.0.27", + "version": "0.0.28", "description": "Provides an SSH Agent implementation for Chrome's Secure Shell extension", "manifest_version": 3, "icons": {