diff --git a/.gitignore b/.gitignore index 692a753..05a0287 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,4 @@ build/ bin/query_cache/ bin/image_cache/ -bin/update_cache/ -sign.sh \ No newline at end of file +bin/update_cache/ \ No newline at end of file diff --git a/bin/src/constants/config.dart b/bin/src/constants/config.dart index 6947376..6360704 100644 --- a/bin/src/constants/config.dart +++ b/bin/src/constants/config.dart @@ -1,7 +1,7 @@ class Config { Config._(); - static const String version = '1.0.9'; + static const String version = '1.1.0'; static final Uri githubRepositoryUrl = Uri.https('github.com', '/techouse/alfred-gitmoji'); static const String algoliaApplicationId = 'WODHKE4WZG'; diff --git a/entitlements.plist b/entitlements.plist new file mode 100644 index 0000000..d681843 --- /dev/null +++ b/entitlements.plist @@ -0,0 +1,8 @@ + + + + + com.apple.security.cs.allow-unsigned-executable-memory + + + \ No newline at end of file diff --git a/info.plist b/info.plist index d14516a..bfb956f 100644 --- a/info.plist +++ b/info.plist @@ -251,7 +251,7 @@ variablesdontexport version - 1.0.9 + 1.1.0 webaddress https://github.com/techouse diff --git a/pubspec.yaml b/pubspec.yaml index 2f3383e..0739b45 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ description: Search for gitmojis and copy them to the clipboard easily. # Prevent accidental publishing to pub.dev. publish_to: 'none' -version: 1.0.9 +version: 1.1.0 environment: sdk: '>=2.17.0 <3.0.0' diff --git a/sign.sh b/sign.sh new file mode 100755 index 0000000..0de8e1f --- /dev/null +++ b/sign.sh @@ -0,0 +1,31 @@ +#!/usr/bin/env bash + +# sign +codesign \ + --sign="D5CABC53AFC47E57F4B688BB3688CF27830BAD36" \ + --identifier="com.techouse.alfred-gitmoji" \ + --deep \ + --force \ + --options=runtime \ + --entitlement="./entitlements.plist" \ + --timestamp \ + --verbose=4 \ + ./build/dist/gm + +# verify +codesign -dv --verbose=4 ./build/dist/gm + +# zip +zip -j ./build/dist/gm.zip ./build/dist/gm + +# notarize +xcrun altool \ + --notarize-app \ + --primary-bundle-id="com.techouse.alfred-gitmoji" \ + --username="klemen.tusar@live.com" \ + --password="@keychain:Developer-altool" \ + --asc-provider="6LYC36B94Q" \ + --file="./build/dist/gm.zip" + +# delete zip +rm ./build/dist/gm.zip