diff --git a/.github/workflows/create_github_release.yaml b/.github/workflows/create_github_release.yaml index 805ecd5..1026f29 100644 --- a/.github/workflows/create_github_release.yaml +++ b/.github/workflows/create_github_release.yaml @@ -23,13 +23,11 @@ jobs: - name: Checkout uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5 - name: Get most recent tag - id: get_tag - run: echo "tag_version=$(git describe --tags --abbrev=0)" >> "$GITHUB_OUTPUT" + run: echo "TAG_VERSION=$(git describe --tags --abbrev=0)" >> "$GITHUB_ENV" - name: Create Release id: create_release env: GITHUB_TOKEN: ${{ github.token }} - TAG_VERSION: ${{ steps.get_tag.outputs.tag_version }} run: | echo "Creating release for tag $TAG_VERSION" gh release create $TAG_VERSION --title "Release $TAG_VERSION" --notes "Release $TAG_VERSION" --target devel