Skip to content

Commit

Permalink
chore: Release creation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hdescottes committed Jun 26, 2024
1 parent eb2bdda commit 8e060fa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ jobs:
- name: Prep Release
id: get_latest_release
run: |
curl --silent "https://api.github.com/repos/hdescottes/GdxGame/releases/latest"
- name: Get version
id: get_version
run: |
echo "latest=grep -Po "(?<=\"tag_name\": \").*(?=\")"" >> $env:GITHUB_OUTPUT
echo "TAG_NAME=$(curl --silent "https://api.github.com/repos/hdescottes/GdxGame/releases/latest" | grep -Po "(?<=\"tag_name\": \").*(?=\")" >> $env:GITHUB_OUTPUT
- name: test version
run: echo "${{ steps.get_latest_release.outputs.latest_version }}"
run: echo "${{ steps.get_latest_release.outputs.TAG_NAME }}"

# Parse changelog

Expand Down

0 comments on commit 8e060fa

Please sign in to comment.