Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
hairyhum committed Apr 19, 2024
1 parent a0dbfca commit 24ef9e2
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
permissions:
contents: write
outputs:
tag: ${{ steps.output_tag.outputs.tag }}
tag: ${{ steps.output_tag.outputs.tag_url }}
environment:
name: release
url: ${{ steps.output_tag.outputs.tag_url }}
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
Expand All @@ -31,7 +34,7 @@ jobs:
git tag -a "${RELEASE_TAG}" -m "Release version"
git push origin "${RELEASE_TAG}"
- id: output_tag
run: echo "tag=${RELEASE_TAG}" >> "$GITHUB_OUTPUT"
run: echo "tag_url=https://github.com/kanisterio/kanister/releases/tag/${RELEASE_TAG}" >> "$GITHUB_OUTPUT"

release_packages:
runs-on: ubuntu-latest
Expand All @@ -40,11 +43,15 @@ jobs:
packages: write
contents: write
outputs:
release: ${{ steps.output_release.outputs.release_link }}
release: ${{ steps.output_release.outputs.release_url }}
environment:
name: release
url: ${{ steps.output_release.outputs.release_url }}
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
ref: ${{ inputs.release_tag }}
fetch-depth: 0
- name: build helm charts
run: |
export PACKAGE_FOLDER=helm_package
Expand All @@ -64,7 +71,7 @@ jobs:
name: helm-index
path: helm_package/index.yaml
- id: output_release
run: echo "release_link=https://github.com/kanisterio/kanister/releases/tag/${RELEASE_TAG}" >> "$GITHUB_OUTPUT"
run: echo "release_url=https://github.com/kanisterio/kanister/releases/tag/${RELEASE_TAG}" >> "$GITHUB_OUTPUT"

release_docs_and_charts:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 24ef9e2

Please sign in to comment.