Skip to content

Commit

Permalink
Merge pull request #743 from solarwinds/tune-ci-cd-little-bit-more
Browse files Browse the repository at this point in the history
Fix release name
  • Loading branch information
jaroslav-fedor-swi authored Oct 3, 2024
2 parents 98a61fb + 5daf265 commit 9497ec5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/buildAndDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,17 @@ jobs:
echo "Previous tag: $PREVIOUS_TAG"
echo "PREVIOUS_TAG=$PREVIOUS_TAG" >> $GITHUB_ENV
- name: Get current tag
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}

- name: Create Github Release
env:
# for gh cli
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ github.ref }} \
--title ${{ github.ref }} \
gh release create ${{ steps.vars.outputs.tag }} \
--title ${{ steps.vars.outputs.tag }} \
--latest=false \
--generate-notes \
--notes-start-tag ${{ env.PREVIOUS_TAG }}

0 comments on commit 9497ec5

Please sign in to comment.