Skip to content

chore: Update version numbers in manifest and package.json #20

chore: Update version numbers in manifest and package.json

chore: Update version numbers in manifest and package.json #20

Workflow file for this run

name: Release Obsidian plugin
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build plugin
run: bun run build
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
tag="${GITHUB_REF#refs/tags/}" \
git log $(git describe --tags --abbrev=0)..HEAD --oneline > release-notes.md && git add release-notes.md \
gh release create "$tag" \
--title="$tag" \
--notes-file="release-notes.md" \
manifest.json build/main.js build/styles.css