diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..d132137 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,29 @@ +name: release + +on: + push: + tags: + - '*' + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - + name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - + name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.15 + - + name: Run GoReleaser + uses: goreleaser/goreleaser-action@v2 + with: + version: latest + args: release --rm-dist + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index a7684b6..a31a499 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ Based on the version in `plugin.yaml`, release binary will be downloaded from Gi ``` $ helm plugin install https://github.com/chartmuseum/helm-push.git -Downloading and installing helm-push v0.8.1 ... -https://github.com/chartmuseum/helm-push/releases/download/v0.8.1/helm-push_0.8.1_darwin_amd64.tar.gz +Downloading and installing helm-push v0.9.0 ... +https://github.com/chartmuseum/helm-push/releases/download/v0.9.0/helm-push_0.9.0_darwin_amd64.tar.gz Installed plugin: push ``` diff --git a/plugin.yaml b/plugin.yaml index d1035d8..d8b5702 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,5 +1,5 @@ name: "push" -version: "0.8.1" +version: "0.9.0" usage: "Please see https://github.com/chartmuseum/helm-push for usage" description: "Push chart package to ChartMuseum" command: "$HELM_PLUGIN_DIR/bin/helmpush"