Skip to content

Commit

Permalink
Update for v1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fedecalendino committed Nov 2, 2022
1 parent 67333e0 commit 1540a22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ Generate an amount of random lorem ipsum paragraphs, sentences or words.</string
</dict>
</array>
<key>version</key>
<string>1.6.0</string>
<string>1.6.1</string>
<key>webaddress</key>
<string>https://github.com/fedecalendino/alfred-string-toolkit</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "String Toolkit"
version = "1.6.0"
version = "1.6.1"
description = "Apply different tools to strings"
documentation = "https://github.com/fedecalendino/alfred-string-toolkit/blob/main/README.md"
homepage = "https://github.com/fedecalendino/alfred-string-toolkit"
Expand Down
24 changes: 2 additions & 22 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,6 @@ echo

echo "Building release..."
echo

echo "Clean up non-exportable variables"
echo

# backup info.plist
cp info.plist old.plist

# find amount of variables to not export
VARIABLES_DONT_EXPORT_AMOUNT=$(plutil -extract variablesdontexport raw -o - ./info.plist)

for i in $(seq 0 $(expr "$VARIABLES_DONT_EXPORT_AMOUNT" - 1))
do
VARIABLE=$(plutil -extract "variablesdontexport.$i" raw -o - ./info.plist)
plutil -replace "variables.$VARIABLE" -string "" ./info.plist

echo " * $VARIABLE: cleared"
done
echo

mkdir releases 2> /dev/null
zip "releases/$FILENAME" -r dist img *.png info.plist
echo
Expand All @@ -51,6 +32,5 @@ echo "Released $NAME v$VERSION"
echo " * releases/$FILENAME"
echo

# restore original info.plist
rm info.plist
mv old.plist info.plist
echo "Opening new release"
open "./releases/$FILENAME"

0 comments on commit 1540a22

Please sign in to comment.