Skip to content

Commit

Permalink
GH action: Fix release name
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Oct 5, 2022
1 parent 737ffb6 commit df0f073
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/chart-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: giantswarm/[email protected]
with:
binary: cr
version: "1.4.0"
version: "1.4.1"
download_url: https://github.com/helm/chart-releaser/releases/download/v${version}/chart-releaser_${version}_linux_amd64.tar.gz
tarball_binary_path: "${binary}"
smoke_test: "${binary} version"
Expand Down Expand Up @@ -66,7 +66,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Package Helm chart
run: make chart-release
run: |
make chart-release
env:
CR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CR_OWNER: ${{ github.repository_owner }}
Expand All @@ -75,6 +76,6 @@ jobs:
# there doesn't seem to be any maintained GitHub actions that allow uploading assets after release has been made.
- name: Update release
run: |
gh release upload ${CHART_NAME}-${CHART_VERSION} .github/crds.yaml
gh release upload chart/${CHART_NAME}-${CHART_VERSION} .github/crds.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit df0f073

Please sign in to comment.