Update label: coconutbattery - more precise versioning #1040
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previous appNewVersion only grabbed a version with 2 decimal places, but the full version number has 3.
Output:
admin in ~/Documents/GitHub/Installomator on LabelEdit-CoconutBattery-FixVersion: ./assemble.sh coconutbattery
2023-05-15 10:27:02 : REQ : coconutbattery : ################## Start Installomator v. 10.4beta, date 2023-05-15
2023-05-15 10:27:02 : INFO : coconutbattery : ################## Version: 10.4beta
2023-05-15 10:27:02 : INFO : coconutbattery : ################## Date: 2023-05-15
2023-05-15 10:27:02 : INFO : coconutbattery : ################## coconutbattery
2023-05-15 10:27:02 : DEBUG : coconutbattery : DEBUG mode 1 enabled.
2023-05-15 10:27:03 : DEBUG : coconutbattery : name=coconutBattery
2023-05-15 10:27:03 : DEBUG : coconutbattery : appName=
2023-05-15 10:27:03 : DEBUG : coconutbattery : type=zip
2023-05-15 10:27:03 : DEBUG : coconutbattery : archiveName=
2023-05-15 10:27:03 : DEBUG : coconutbattery : downloadURL=https://coconut-flavour.com/downloads/coconutBattery_latest.zip
2023-05-15 10:27:03 : DEBUG : coconutbattery : curlOptions=
2023-05-15 10:27:03 : DEBUG : coconutbattery : appNewVersion=3.9.11
2023-05-15 10:27:03 : DEBUG : coconutbattery : appCustomVersion function: Not defined
2023-05-15 10:27:03 : DEBUG : coconutbattery : versionKey=CFBundleShortVersionString
2023-05-15 10:27:03 : DEBUG : coconutbattery : packageID=
2023-05-15 10:27:03 : DEBUG : coconutbattery : pkgName=
2023-05-15 10:27:03 : DEBUG : coconutbattery : choiceChangesXML=
2023-05-15 10:27:03 : DEBUG : coconutbattery : expectedTeamID=R5SC3K86L5
2023-05-15 10:27:03 : DEBUG : coconutbattery : blockingProcesses=
2023-05-15 10:27:03 : DEBUG : coconutbattery : installerTool=
2023-05-15 10:27:03 : DEBUG : coconutbattery : CLIInstaller=
2023-05-15 10:27:03 : DEBUG : coconutbattery : CLIArguments=
2023-05-15 10:27:03 : DEBUG : coconutbattery : updateTool=
2023-05-15 10:27:03 : DEBUG : coconutbattery : updateToolArguments=
2023-05-15 10:27:03 : DEBUG : coconutbattery : updateToolRunAsCurrentUser=
2023-05-15 10:27:03 : INFO : coconutbattery : BLOCKING_PROCESS_ACTION=tell_user
2023-05-15 10:27:03 : INFO : coconutbattery : NOTIFY=success
2023-05-15 10:27:03 : INFO : coconutbattery : LOGGING=DEBUG
2023-05-15 10:27:03 : INFO : coconutbattery : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2023-05-15 10:27:03 : INFO : coconutbattery : Label type: zip
2023-05-15 10:27:03 : INFO : coconutbattery : archiveName: coconutBattery.zip
2023-05-15 10:27:03 : INFO : coconutbattery : no blocking processes defined, using coconutBattery as default
2023-05-15 10:27:03 : DEBUG : coconutbattery : Changing directory to /Users/admin/Documents/GitHub/Installomator/build
2023-05-15 10:27:03 : INFO : coconutbattery : App(s) found: /Applications/coconutBattery.app
2023-05-15 10:27:03 : INFO : coconutbattery : found app at /Applications/coconutBattery.app, version 3.9.11, on versionKey CFBundleShortVersionString
2023-05-15 10:27:03 : INFO : coconutbattery : appversion: 3.9.11
2023-05-15 10:27:03 : INFO : coconutbattery : Latest version of coconutBattery is 3.9.11
2023-05-15 10:27:03 : WARN : coconutbattery : DEBUG mode 1 enabled, not exiting, but there is no new version of app.
2023-05-15 10:27:03 : INFO : coconutbattery : coconutBattery.zip exists and DEBUG mode 1 enabled, skipping download
2023-05-15 10:27:03 : DEBUG : coconutbattery : DEBUG mode 1, not checking for blocking processes
2023-05-15 10:27:03 : REQ : coconutbattery : Installing coconutBattery
2023-05-15 10:27:03 : INFO : coconutbattery : Unzipping coconutBattery.zip
2023-05-15 10:27:03 : INFO : coconutbattery : Verifying: /Users/admin/Documents/GitHub/Installomator/build/coconutBattery.app
2023-05-15 10:27:03 : DEBUG : coconutbattery : App size: 39M /Users/admin/Documents/GitHub/Installomator/build/coconutBattery.app
2023-05-15 10:27:03 : DEBUG : coconutbattery : Debugging enabled, App Verification output was:
/Users/admin/Documents/GitHub/Installomator/build/coconutBattery.app: accepted
source=Notarized Developer ID
origin=Developer ID Application: Christoph Sinai (R5SC3K86L5)
2023-05-15 10:27:03 : INFO : coconutbattery : Team ID matching: R5SC3K86L5 (expected: R5SC3K86L5 )
2023-05-15 10:27:03 : INFO : coconutbattery : Downloaded version of coconutBattery is 3.9.11 on versionKey CFBundleShortVersionString, same as installed.
2023-05-15 10:27:04 : DEBUG : coconutbattery : DEBUG mode 1, not reopening anything
2023-05-15 10:27:04 : REG : coconutbattery : No new version to install
2023-05-15 10:27:04 : REQ : coconutbattery : ################## End Installomator, exit code 0