From cc880adc5cd78a19d81af19ff99cec9acf9ce0dc Mon Sep 17 00:00:00 2001 From: Caleb Campbell Date: Fri, 28 Jun 2024 11:52:31 +1000 Subject: [PATCH] Update version. --- .github/workflows/release.yml | 34 ++++++++++++++++++++++++++++++++++ manifest.json | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 37 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e69de29..0e1c60b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -0,0 +1,34 @@ +name: Release Obsidian plugin + +on: + push: + tags: + - "*" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js + uses: actions/setup-node@v3 + with: + node-version: "18.x" + + - name: Build plugin + run: | + npm install + npm run build + + - name: Create release + 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 diff --git a/manifest.json b/manifest.json index 2473711..b9c2966 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "local-bible-ref", "name": "Local Bible Ref", - "version": "1.0.0", + "version": "1.0.1", "minAppVersion": "0.15.0", "description": "Quickly and easily reference Bible verses stored locally in your Obsidian vault.", "author": "calebcampbell", diff --git a/package-lock.json b/package-lock.json index fcc55f4..86dad7a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "local-bible-ref", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 75eb673..fb8f8aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "local-bible-ref", - "version": "1.0.0", + "version": "1.0.1", "description": "Quickly and easily reference Bible verses stored locally in your Obsidian vault.", "main": "main.js", "scripts": {