Skip to content

Commit

Permalink
Update upload-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyber-Finn authored Jul 3, 2024
1 parent 037a763 commit c55f736
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/upload-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,26 @@ jobs:
#run: echo "::set-output name=commit_message::$(git log -1 --pretty=format:'%s%n%n%b')"
run: echo "commit_message=$(git log -1 --pretty=format:'%s%n%n%b')" >> $GITHUB_ENV

- name: Get latest tag
id: get_latest_tag
run: echo "::set-output name=tag::$(git describe --abbrev=0 --tags)"

- name: Increment tag
id: increment_tag
run: echo "::set-output name=tag::$(python increment_tag.py ${{ steps.get_latest_tag.outputs.tag }})"


- name: Create Release
id: create_release
uses: actions/create-release@v1
with:
draft: false
prerelease: false
release_name: ${{ github.ref }}
tag_name: ${{ github.ref }}
release_name: Automated Windsong Lyre Download
tag_name: ${{ steps.increment_tag.outputs.tag }}
body: ${{ env.commit_message }}
#body: ${{ github.event.pull_request.title }} # Use the pull request title only as the release info
#body: ${{ steps.get_commit_message.outputs.commit_message }}
body: ${{ env.commit_message }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit c55f736

Please sign in to comment.