Skip to content

🔖 1.2.0

🔖 1.2.0 #22

Workflow file for this run

name: Release Obsidian plugin
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: "package.json"
- run: npm install
- run: npm run build
- run: |
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--generate-notes \
main.js manifest.json styles.css
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}