Skip to content

Commit

Permalink
Fix update_version script
Browse files Browse the repository at this point in the history
  • Loading branch information
DropSnorz committed Jan 18, 2017
1 parent 5e520bf commit d280e75
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 28 deletions.
1 change: 1 addition & 0 deletions Wobbleizer-vst2.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<AdditionalIncludeDirectories>$(ADDITIONAL_INCLUDES);..\wdl-ol\WDL;..\wdl-ol\WDL\lice;..\wdl-ol\WDL\IPlug;src/</AdditionalIncludeDirectories>
<ObjectFileName>$(IntDir)/%(RelativeDir)/</ObjectFileName>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
Expand Down
2 changes: 1 addition & 1 deletion installer/Wobbleizer.iss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Setup]
AppName=Wobbleizer
AppVersion=0.20.2
AppVersion=0.21.0
DefaultDirName={pf}\Wobbleizer
DefaultGroupName=Wobbleizer
Compression=lzma2
Expand Down
12 changes: 6 additions & 6 deletions installer/Wobbleizer.pkgproj
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
<key>RELOCATABLE</key>
<true/>
<key>VERSION</key>
<string>0.20.2</string>
<string>0.21.0</string>
</dict>
<key>UUID</key>
<string>4C138DB1-9734-45F0-8A00-6E362896C22C</string>
Expand Down Expand Up @@ -978,7 +978,7 @@
<key>RELOCATABLE</key>
<true/>
<key>VERSION</key>
<string>0.20.2</string>
<string>0.21.0</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down Expand Up @@ -1495,7 +1495,7 @@
<key>RELOCATABLE</key>
<true/>
<key>VERSION</key>
<string>0.20.2</string>
<string>0.21.0</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down Expand Up @@ -2012,7 +2012,7 @@
<key>RELOCATABLE</key>
<true/>
<key>VERSION</key>
<string>0.20.2</string>
<string>0.21.0</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down Expand Up @@ -2513,7 +2513,7 @@
<key>RELOCATABLE</key>
<true/>
<key>VERSION</key>
<string>0.20.2</string>
<string>0.21.0</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down Expand Up @@ -3031,7 +3031,7 @@
<key>RELOCATABLE</key>
<true/>
<key>VERSION</key>
<string>0.20.2</string>
<string>0.21.0</string>
</dict>
<key>TYPE</key>
<integer>0</integer>
Expand Down
6 changes: 3 additions & 3 deletions resources/Wobbleizer-AAX-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${BINARY_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>0.20.2, Copyright DropSnorz, 2016</string>
<string>0.21.0, Copyright DropSnorz, 2017</string>
<key>CFBundleIdentifier</key>
<string>com.DropSnorz.aax.${BINARY_NAME}</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>TDMw</string>
<key>CFBundleShortVersionString</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>CFBundleSignature</key>
<string>PTul</string>
<key>CFBundleVersion</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>LSMultipleInstancesProhibited</key>
<string>true</string>
<key>LSPrefersCarbon</key>
Expand Down
6 changes: 3 additions & 3 deletions resources/Wobbleizer-AU-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${BINARY_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>0.20.2, Copyright DropSnorz, 2016</string>
<string>0.21.0, Copyright DropSnorz, 2017</string>
<key>CFBundleIdentifier</key>
<string>com.DropSnorz.audiounit.${BINARY_NAME}</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>CFBundleSignature</key>
<string>Acme</string>
<key>CFBundleVersion</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>LSMinimumSystemVersion</key>
<string>10.5.0</string>
<key>NSPrincipalClass</key>
Expand Down
6 changes: 3 additions & 3 deletions resources/Wobbleizer-OSXAPP-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${BINARY_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>0.20.2, Copyright DropSnorz, 2016</string>
<string>0.21.0, Copyright DropSnorz, 2017</string>
<key>CFBundleIconFile</key>
<string>${BINARY_NAME}.icns</string>
<key>CFBundleIdentifier</key>
Expand All @@ -19,11 +19,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>CFBundleSignature</key>
<string>Acme</string>
<key>CFBundleVersion</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>LSApplicationCategoryType</key>
<string>public.app-category.music</string>
<key>LSMinimumSystemVersion</key>
Expand Down
6 changes: 3 additions & 3 deletions resources/Wobbleizer-RTAS-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${BINARY_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>0.20.2, Copyright DropSnorz, 2016</string>
<string>0.21.0, Copyright DropSnorz, 2017</string>
<key>CFBundleIdentifier</key>
<string>com.DropSnorz.rtas.${BINARY_NAME}</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>TDMw</string>
<key>CFBundleShortVersionString</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>CFBundleSignature</key>
<string>PTul</string>
<key>CFBundleVersion</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>LSMultipleInstancesProhibited</key>
<string>true</string>
<key>LSPrefersCarbon</key>
Expand Down
6 changes: 3 additions & 3 deletions resources/Wobbleizer-VST2-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${BINARY_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>0.20.2, Copyright DropSnorz, 2016</string>
<string>0.21.0, Copyright DropSnorz, 2017</string>
<key>CFBundleIdentifier</key>
<string>com.DropSnorz.vst.${BINARY_NAME}</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>CFBundleSignature</key>
<string>Acme</string>
<key>CFBundleVersion</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>LSMinimumSystemVersion</key>
<string>10.5.0</string>
</dict>
Expand Down
6 changes: 3 additions & 3 deletions resources/Wobbleizer-VST3-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${BINARY_NAME}</string>
<key>CFBundleGetInfoString</key>
<string>0.20.2, Copyright DropSnorz, 2016</string>
<string>0.21.0, Copyright DropSnorz, 2017</string>
<key>CFBundleIdentifier</key>
<string>com.DropSnorz.vst3.${BINARY_NAME}</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>CFBundleSignature</key>
<string>Acme</string>
<key>CFBundleVersion</key>
<string>0.20.2</string>
<string>0.21.0</string>
<key>LSMinimumSystemVersion</key>
<string>10.5.0</string>
</dict>
Expand Down
4 changes: 2 additions & 2 deletions src/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@


// Format 0xMAJR.MN.BG - in HEX! so version 10.1.5 would be 0x000A0105
#define PLUG_VER 0x00001402
#define VST3_VER_STR "0.20.2"
#define PLUG_VER 0x00001500
#define VST3_VER_STR "0.21.0"

// http://service.steinberg.de/databases/plugin.nsf/plugIn?openForm
// 4 chars, single quotes. At least one capital letter
Expand Down
2 changes: 1 addition & 1 deletion update_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def main():
MinorStr = ""
BugfixStr = ""

for line in fileinput.input(scriptpath + "/resource.h",inplace=0):
for line in fileinput.input(scriptpath + "/src/resource.h",inplace=0):
if "#define PLUG_VER " in line:
FullVersion = int(line.lstrip( "#define PLUG_VER "), 16)
major = FullVersion & 0xFFFF0000
Expand Down

0 comments on commit d280e75

Please sign in to comment.