Skip to content

Commit

Permalink
ios: use 0 to seperate the build number from the version name
Browse files Browse the repository at this point in the history
  • Loading branch information
jhass committed Jan 23, 2024
1 parent 9884fea commit bc1e1df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME).$(FLUTTER_BUILD_NUMBER)</string>
<string>$(FLUTTER_BUILD_NAME)0$(FLUTTER_BUILD_NUMBER)</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/insporation-share/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>$(FLUTTER_BUILD_NAME).$(FLUTTER_BUILD_NUMBER)</string>
<string>$(FLUTTER_BUILD_NAME)0$(FLUTTER_BUILD_NUMBER)</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<key>NSExtension</key>
Expand Down
13 changes: 2 additions & 11 deletions script/trigger-nightly
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
#!/bin/bash
#!/bin/sh
exec gh workflow run nightly.yml

if [ -z "$GITHUB_TOKEN" ]; then
echo "Need to set GITHUB_TOKEN environment variable!"
exit 1
fi

curl -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token $GITHUB_TOKEN" \
--request POST \
--data '{"event_type": "nightly"}' \
https://api.github.com/repos/jhass/insporation/dispatches

0 comments on commit bc1e1df

Please sign in to comment.