Skip to content

Commit

Permalink
Merge pull request #5 from roshan-vijayan-ibm/main
Browse files Browse the repository at this point in the history
feat: Set GITHUB TAG for Release creation
  • Loading branch information
varada-sunanda-ibm authored Jan 10, 2025
2 parents ce16627 + 8d4b83f commit 320ca67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/github-build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ jobs:
echo "Version - ${{ steps.chart.outputs.version }}"
echo "App Version - ${{ steps.chart.outputs.appVersion }}"
echo "CHART_VERSION=${{ steps.chart.outputs.version }}" >> $GITHUB_ENV
GIT_REF_TAG=${{ github.ref }}
echo "SOURCE_TAG=${GIT_REF_TAG#refs/tags/}" >> $GITHUB_ENV
- name: Package Helm Chart
run: tar -czvf ibm-connectivity-pack-${{env.CHART_VERSION}}.tgz -C ibm-connectivity-pack .
- name: Get Release by Tag Name
uses: joutvhu/get-release@v1
with:
tag_name: ${{ github.ref }}
tag_name: ${{env.SOURCE_TAG}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Release Asset Helm Chart
Expand Down

0 comments on commit 320ca67

Please sign in to comment.