chore: prepare release v1.4.10 #150
Workflow file for this run
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
name: Release Helm Chart | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
jobs: | |
version: | |
name: Set Version from git ref | |
runs-on: ubuntu-latest | |
outputs: | |
version: ${{ steps.version.outputs.version }} | |
steps: | |
- id: version | |
run: echo "::set-output name=version::$(sed 's#^refs/tags/\(.*\)#\1#' <<< '${{ github.ref }}' | cut -c 2-)" | |
release: | |
runs-on: ubuntu-latest | |
needs: version | |
env: | |
VERSION: ${{ needs.version.outputs.version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Exclude charts | |
run: | | |
rm -rfv charts/gateway/ | |
rm -rfv charts/namespaced-ingress/ | |
rm -rfv charts/connector/ | |
- name: Publish Helm charts | |
uses: stefanprodan/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
app_version: ${{ env.VERSION }} | |
chart_version: ${{ env.VERSION }} | |
linting: false |