Open yuleicul opened 1 year ago
FYI
Codes above require update version manually in manifest.json
. I found this thread in Obsidian Forum including some bash scripts allowing update manifest.json
automatically.
https://forum.obsidian.md/t/using-github-actions-to-release-plugins/7877
When
version
inpackage.json
is updated, the GitHub action shouldnpm run version
to updatemanifest.json
andversions.json
, and commit these changesnpm run build
to generate newstyles.css
andmain.js
manifest.json
,main.js
, andstyles.css