From b03f19dfc5716e1b4a1dda67b18cd2727db14425 Mon Sep 17 00:00:00 2001 From: Rafael Romero Date: Fri, 20 Oct 2023 23:58:33 +0100 Subject: [PATCH] feat(ci): print the tag if it was a release --- .github/workflows/release-please.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index b98c06f6957..165d381aff3 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -8,13 +8,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: google-github-actions/release-please-action@v3 + id: release-please with: command: manifest default-branch: release - # extra-files: | - # packages/chronos/package.json - # packages/client/package.json - # packages/gql-executor/package.json - # packages/integration-tests/package.json - # packages/server/package.json - # changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]' + - name: Print tag if it was a release + if: ${{ steps.release-please.outputs.release_created }} + run: | + echo ${{ steps.release-please.outputs.tag_name }}