From 261659133a6601543f66344d424e16393ecab56f Mon Sep 17 00:00:00 2001 From: Nara Kasbergen Date: Thu, 1 Jun 2023 10:35:49 +0200 Subject: [PATCH] chore: fix missing version from Slack notification --- .github/workflows/release.yml | 2 ++ .projenrc.ts | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9767b88..4d51a1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -73,6 +73,8 @@ jobs: permissions: contents: read steps: + - name: git checkout + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab - name: Get the latest tag (version) from git id: git_label run: echo "version=$(git describe --tags)" >> $GITHUB_OUTPUT diff --git a/.projenrc.ts b/.projenrc.ts index 0268faa..18768d3 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -209,6 +209,10 @@ project.release?.addJobs({ contents: JobPermission.READ, }, steps: [ + { + name: "git checkout", + uses: "actions/checkout@v3", + }, { name: "Get the latest tag (version) from git", id: "git_label",