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 3713c7d commit 01331f9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@ jobs:

steps:
- name: Prep Release
id: prep
id: get_latest_release
run: |
curl --silent "https://api.github.com/repos/hdescottes/GdxGame/releases/latest"
curl --silent "https://api.github.com/repos/hdescottes/GdxGame/releases/latest" |
grep -Po "(?<=\"tag_name\": \").*(?=\")" >> $env:GITHUB_OUTPUT
# - name: Get version
# id: get_version
# run:
- name: test version
run: echo ${{ steps.prep.outputs }}
run: echo "${{ steps.get_latest_release.outputs }}"

# Parse changelog

echo 'changelog<<EOF' >> $GITHUB_ENV
echo $CHANGELOG >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV

# - name: Create Release
# id: create_release
Expand Down

0 comments on commit 01331f9

Please sign in to comment.