From ac15a009fd8443119896e8c152f7bd66f8915265 Mon Sep 17 00:00:00 2001 From: Jonas Strassel Date: Tue, 26 Aug 2025 13:11:11 +0200 Subject: [PATCH] feat: Update release.yml to include 'tagged' output Export "if" a release has been tagged. --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec97dcb..122c080 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,11 +11,15 @@ jobs: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && contains(github.event.head_commit.message, 'chore(main): release') runs-on: ubuntu-latest + outputs: + tagged: ${{ steps.tag.outputs.tagged }} steps: - uses: actions/checkout@v4 - id: tag name: tag run: | + echo "tagged=false" >> $GITHUB_OUTPUT git tag v$(node -pe "require('./package.json').version") git push origin v$(node -pe "require('./package.json').version") + echo "tagged=true" >> $GITHUB_OUTPUT