Skip to content

Commit

Permalink
Fix build, test, and THAT SPACE IN INFO.PLIST
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkiss committed Jan 10, 2023
1 parent 95a7564 commit 217b190
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions r.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ build:workflow () { #: Zip the workflow folder into release/dist folder
cd workflow
VERSION=`/usr/libexec/PlistBuddy -c "Print :version" info.plist`
BUILD=`git rev-parse --short HEAD`
zip "../alfred-noteplan-fts-$VERSION-$BUILD.alfredworkflow" icons info.plist icon.png LICENSES noteplan_fts-arm64 noteplan_fts-x86_64
zip -r "../alfred-noteplan-fts-$VERSION-$BUILD.alfredworkflow" icons/ info.plist icon.png LICENSES noteplan_fts-arm64 noteplan_fts-x86_64
}

prebuild () { #: Run the whole build - the local part
Expand All @@ -83,12 +83,12 @@ version () { #: get the workflow version

dev:link () { #: link the WIP version to Alfred
ln -s \
/Users/adam/Code/alfred-noteplan-fts-dart/workflow \
/Users/adam/Code/dotfiles/config/alfred5/Alfred.alfredpreferences/workflows/alfred-noteplan-fts-dart;
/Users/adam/Code/alfred-noteplan-fts/workflow \
/Users/adam/Code/dotfiles/config/alfred5/Alfred.alfredpreferences/workflows/alfred-noteplan-fts;
}

dev:unlink () { #: remove the WIP version link from Alfred
rm /Users/adam/Code/dotfiles/config/alfred5/Alfred.alfredpreferences/workflows/alfred-noteplan-fts-dart;
rm /Users/adam/Code/dotfiles/config/alfred5/Alfred.alfredpreferences/workflows/alfred-noteplan-fts;
}

dev:dumplist () { #: dump the info.plist into plist.txt
Expand Down
2 changes: 1 addition & 1 deletion workflow/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ title: TITLE
</dict>
</array>
<key>version</key>
<string>2.0.0-rc8 </string>
<string>2.0.0-rc8</string>
<key>webaddress</key>
<string>https://adamkiss.com</string>
</dict>
Expand Down

0 comments on commit 217b190

Please sign in to comment.