From 01331f9b8b819567d78fb7465321c42dff373af5 Mon Sep 17 00:00:00 2001 From: hudescottes Date: Thu, 27 Jun 2024 00:39:00 +0200 Subject: [PATCH] chore: Release creation workflow --- .github/workflows/release.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 93a2a3e..9eace7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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<> $GITHUB_ENV - echo $CHANGELOG >> $GITHUB_ENV - echo 'EOF' >> $GITHUB_ENV # - name: Create Release # id: create_release