generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
44 additions
and
21 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,5 @@ data.json | |
.DS_Store | ||
|
||
release.zip | ||
.aider* | ||
.env |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# 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 | ||
|
||
rm -f "/Users/caffae/Notes/Char V4/.obsidian/plugins/Current Folder Notes/main.js" | ||
rm -f "/Users/caffae/Notes/Char V4/.obsidian/plugins/Current Folder Notes/manifest.json" | ||
rm -f "/Users/caffae/Notes/Char V4/.obsidian/plugins/Current Folder Notes/styles.css" | ||
|
||
cp main.js "/Users/caffae/Notes/Char V4/.obsidian/plugins/Current Folder Notes" | ||
cp manifest.json "/Users/caffae/Notes/Char V4/.obsidian/plugins/Current Folder Notes" | ||
cp styles.css "/Users/caffae/Notes/Char V4/.obsidian/plugins/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 | ||
|