diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a34118d..f6301bf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,9 +2,8 @@ name: Build obsidian plugin on: push: - # Sequence of patterns matched against refs/tags - tags: - - "*" # Push events to matching any tag format, i.e. 1.0, 20.15.10 + branches: + - master workflow_dispatch: env: @@ -24,6 +23,9 @@ jobs: with: node-version: "16.x" + - name: Set Version ENV + run: echo "VERSION=$(cat package.json | jq -r '.version')" >> $GITHUB_ENV + - name: Install Dependencies run: npm ci @@ -38,8 +40,8 @@ jobs: main.js manifest.json styles.css - tag_name: ${{ github.ref }} - name: ${{ github.ref }} + name: ${{ env.VERSION }} + tag_name: ${{ env.VERSION}} repository: ${{ github.repository }} draft: true prerelease: false diff --git a/manifest.json b/manifest.json index d715320..9fbe359 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "recipe-grabber", "name": "Recipe Grabber", - "version": "0.14.0", + "version": "0.16.0", "minAppVersion": "0.15.0", "description": "Quickly grab the important contents of any online recipe.", "author": "seethroughdev", diff --git a/package.json b/package.json index df7b6db..09736b3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "recipe-grabber", - "version": "0.14.0", + "version": "0.16.0", "description": "Quickly grab the important contents of any online recipe.", "main": "main.js", "repository": { diff --git a/versions.json b/versions.json index fef7896..3575ccb 100644 --- a/versions.json +++ b/versions.json @@ -2,5 +2,6 @@ "0.11.0": "0.15.0", "0.12.0": "0.15.0", "0.13.0": "0.15.0", - "0.14.0": "0.15.0" + "0.15.0": "0.15.0", + "0.16.0": "0.15.0" }