Skip to content

Commit

Permalink
drop canary release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Fisher <[email protected]>
  • Loading branch information
bacongobbler committed Mar 19, 2024
1 parent f7e111d commit 49490f3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ name: Release

on:
push:
branches:
- main
tags:
- "v*"
- "*"

jobs:
goreleaser:
Expand All @@ -30,20 +28,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}

- name: create GitHub release (canary)
if: github.ref == 'refs/heads/main'
run: |
gh release delete canary --cleanup-tag
gh release create canary dist/spin-plugin-kube*.tar.gz \
--title canary \
--prerelease \
--notes-file - <<- EOF
This is a "canary" release of the most recent commits on our main branch. Canary is **not stable**.
It is only intended for developers wishing to try out the latest features in Spin, some of which may not be fully implemented.
EOF
env:
GH_TOKEN: ${{ github.token }}

- name: Release Plugin
uses: rajatjindal/spin-plugin-releaser@v1
with:
Expand Down
3 changes: 0 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ builds:
- amd64
- arm64

snapshot:
name_template: "canary"

archives:
- builds:
- spin-plugin-kube
Expand Down
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@ spin plugins update
spin plugins install kube
```

### Canary release

For the canary release:

```sh
spin plugins install --url https://github.com/spinkube/spin-plugin-kube/releases/download/canary/kube.json
```

The canary release may not be stable, with some features still in progress.

### Compiling from source

As an alternative to the plugin manager, you can download and manually install the plugin. Manual installation is
Expand Down

0 comments on commit 49490f3

Please sign in to comment.