From 49daad1f668152b215634f4eeb4fb2d12b18de71 Mon Sep 17 00:00:00 2001 From: Antonio Date: Tue, 5 Mar 2024 03:12:22 +0200 Subject: [PATCH] fix(gh-actions): broken tag name when creating release --- .github/workflows/release.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 727c805..efbf762 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -50,13 +50,12 @@ jobs: run: npm run build - name: 📦 Create release + uses: softprops/action-gh-release@v1 if: steps.build_plugin.outcome == 'success' && contains(github.ref, 'refs/tags/') - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - tag='${GITHUB_REF#refs/tags/}' - - gh release create '$tag' \ - --title='$tag' \ - --draft \ - main.js manifest.json styles.css \ No newline at end of file + with: + body: 'This release was generated automatically. Full details will be available soon' + draft: true + files: | + main.js + manifest.json + styles.css \ No newline at end of file