Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
Upgrade release-it, fix incorrect plist value
Browse files Browse the repository at this point in the history
  • Loading branch information
jariz committed Jul 26, 2019
1 parent 746463c commit a9df080
Show file tree
Hide file tree
Showing 5 changed files with 919 additions and 3,219 deletions.
5 changes: 2 additions & 3 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"scripts": {
"beforeStage": "./build.sh > /dev/null",
"afterBump": "/usr/libexec/PlistBuddy Akku/Info.plist -c \"Set :CFBundleShortVersionString string \\\"${version}\\\"\" -c \"Set :CFBundleVersion string \\\"${version}\\\"\""
"hooks": {
"after:bump": "/usr/libexec/PlistBuddy Akku/Info.plist -c \"Set :CFBundleShortVersionString \\\"${version}\\\"\" -c \"Set :CFBundleVersion \\\"${version}\\\"\" && ./build.sh"
},
"git": {
"commit": true,
Expand Down
98 changes: 98 additions & 0 deletions Akku.xcodeproj/xcshareddata/xcschemes/io.jari.AkkuHelper.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1010"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "53604C17215E131D00071149"
BuildableName = "io.jari.AkkuHelper"
BlueprintName = "io.jari.AkkuHelper"
ReferencedContainer = "container:Akku.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "53604C17215E131D00071149"
BuildableName = "io.jari.AkkuHelper"
BlueprintName = "io.jari.AkkuHelper"
ReferencedContainer = "container:Akku.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
debugAsWhichUser = "root"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "53604C17215E131D00071149"
BuildableName = "io.jari.AkkuHelper"
BlueprintName = "io.jari.AkkuHelper"
ReferencedContainer = "container:Akku.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<CommandLineArguments>
<CommandLineArgument
argument = "--standalone"
isEnabled = "YES">
</CommandLineArgument>
</CommandLineArguments>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "53604C17215E131D00071149"
BuildableName = "io.jari.AkkuHelper"
BlueprintName = "io.jari.AkkuHelper"
ReferencedContainer = "container:Akku.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
4 changes: 2 additions & 2 deletions Akku/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>xxx</string>
<string>0.1.0-beta.8</string>
<key>CFBundleVersion</key>
<string>100</string>
<string>0.1.0-beta.8</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.utilities</string>
<key>LSMinimumSystemVersion</key>
Expand Down
Loading

0 comments on commit a9df080

Please sign in to comment.