Skip to content

Commit

Permalink
publish tags for helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Brose <[email protected]>
  • Loading branch information
HarHarLinks committed Dec 2, 2024
1 parent bd87219 commit 2f86111
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,17 @@ jobs:
app_id: ${{ secrets.GH_APP_OS_APP_ID }}
private_key: ${{ secrets.GH_APP_OS_PRIVATE_KEY }}

- name: Create Helm chart release
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
chart_version="$(yq '.version' charts/matrix-neoboard-widget/Chart.yaml)"
tag="@nordeck/matrix-neoboard-helm-chart@${chart_version}"
if [[ $(git tag | grep "$tag") == "" ]]
then
git tag "$tag"
git push origin tag "$tag"
fi
- name: Create Release Pull Request or Publish Packages
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308 # @v1.4.9
Expand Down

0 comments on commit 2f86111

Please sign in to comment.