chore: 버전 0.8.3으로 업데이트 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |