Skip to content

🔧 release directly #4

🔧 release directly

🔧 release directly #4

Workflow file for this run

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