mirror of
https://github.com/caffa/Obsidian-Current-Folder-Note-Display-Plugin.git
synced 2026-07-22 09:50:27 +00:00
23 lines
No EOL
766 B
Bash
23 lines
No EOL
766 B
Bash
# minor version bump
|
|
npm version patch
|
|
|
|
# create the current_release directory if it does not exist
|
|
mkdir -p current-folder-notes
|
|
|
|
# make a copy of the main.js, manifest.json, and styles.css files in another folder
|
|
cp main.js current-folder-notes
|
|
cp manifest.json current-folder-notes
|
|
cp styles.css current-folder-notes
|
|
|
|
# compress the current_release folder into a zip file
|
|
# zip -r release.zip current_release
|
|
zip -vr current-folder-notes.zip current-folder-notes -x "*.DS_Store"
|
|
|
|
mv current-folder-notes.zip release.zip
|
|
|
|
# remove the current_release folder
|
|
# rm -rf current-folder-notes
|
|
|
|
gac "Push for Release"
|
|
echo "Use the gh release create command to create a new release"
|
|
echo "gh release create v(XXX) release.zip --notes-file current-folder-notes/notes.md" |