Skip to content

Commit

Permalink
release from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Hammerbeck committed May 23, 2024
1 parent f29350b commit d725e19
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/actions/release-to-git/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,11 @@ runs:
run: |
echo "latestTag=$(git tag | sort --version-sort | tail -n1)" >> $GITHUB_OUTPUT
- name: output values
shell: bash
run: |
echo "latestTag: ${{ steps.set-latest-tag.outputs.latestTag }}"
echo "version: ${{ steps.get-version.outputs.version }}"
- name: Create release
shell: bash
if: ${{ !(steps.set-latest-tag.outputs.latestTag == steps.get-version.outputs.version) }}
env:
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
TAG: ${{ steps.get-version.outputs.version }}
run: |
gh release create "$TAG" --title="v${{steps.get-version.outputs.version}}" --generate-notes
gh release create "$TAG" --title="v${{steps.get-version.outputs.version}}" --generate-notes --target feat/automatic-release-notes

0 comments on commit d725e19

Please sign in to comment.