From b23704090ac4fe5eab2d6787735088fea7434406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Tue, 24 Sep 2024 14:04:35 +0200 Subject: [PATCH] fix release --- .github/workflows/release.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c7c1ced..3fcb09c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,6 +5,9 @@ on: # tags in the form A.B.C where A B and C are only numbers. It won't trigger for pre-release tags. - '[0-9]+.[0-9]+.[0-9]+' +permissions: + contents: write + name: Create Release jobs: @@ -15,7 +18,7 @@ jobs: - name: Get version from tag id: tag_name run: | - echo "current_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT + echo "current_version=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT shell: bash - name: Checkout code uses: actions/checkout@v4