From 3e01d1c6b0014c3a1403015c09600c59ca217e93 Mon Sep 17 00:00:00 2001 From: Antonio Date: Tue, 5 Mar 2024 02:18:06 +0200 Subject: [PATCH] fix(gh-actions): broken tag name when creating release --- .github/workflows/release.yml | 17 ++++++++--------- manifest.json | 2 +- package.json | 4 ++-- 3 files changed, 11 insertions(+), 12 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 diff --git a/manifest.json b/manifest.json index 24395c6..a594a49 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "apple-books-import-highlights", "name": "Apple Books - Import Highlights", - "version": "1.2.0", + "version": "1.2.1", "minAppVersion": "0.15.0", "description": "Import your Apple Books highlights and notes to Obsidian.", "author": "bandantonio", diff --git a/package.json b/package.json index 1b29a30..2c14448 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-apple-books-highlights-plugin", - "version": "1.2.0", + "version": "1.2.1", "description": "Import highlights and notes from your Apple Books to Obsidian", "main": "main.js", "scripts": { @@ -42,4 +42,4 @@ "handlebars": "^4.7.8", "sqlite3": "^5.1.7-rc.0" } -} +} \ No newline at end of file