From d7e1ef44c29e22d9b951ff8fd0bb6881418c45d7 Mon Sep 17 00:00:00 2001 From: Fede Calendino Date: Wed, 2 Nov 2022 20:49:57 +0100 Subject: [PATCH] Update for v1.7.1 --- info.plist | 4 ++-- pyproject.toml | 2 +- scripts/release.sh | 26 +++----------------------- 3 files changed, 6 insertions(+), 26 deletions(-) diff --git a/info.plist b/info.plist index f9229c1..57ab63f 100644 --- a/info.plist +++ b/info.plist @@ -135,7 +135,7 @@ description - + Keyword to generate secure passwords. label Password Generator keyword type @@ -145,7 +145,7 @@ version - 1.7.0 + 1.7.1 webaddress https://github.com/fedecalendino/alfred-pwd-gen diff --git a/pyproject.toml b/pyproject.toml index 3e678d1..28b0bce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Password Generator" -version = "1.7.0" +version = "1.7.1" description = "Generate secure passwords" documentation = "https://github.com/fedecalendino/alfred-pwd-gen/blob/main/README.md" homepage = "https://github.com/fedecalendino/alfred-pwd-gen" diff --git a/scripts/release.sh b/scripts/release.sh index 13727d3..e60f506 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -15,7 +15,7 @@ echo "NEW VERSION: v$VERSION" echo -echo "Building binaries..." +echo "Building dist..." echo ./scripts/build.sh > /dev/null echo @@ -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 @@ -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"