Permalink
Browse files

set version to 6.3.8

Updated the set_wb_version script to work with git and also update mysql-workbench.spec.in
  • Loading branch information...
1 parent 5029ed3 commit 22d3e1b76819aae9b6731f37dd34f40409cf0a36 @mike-lischke mike-lischke committed Jun 14, 2016
View
@@ -72,7 +72,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>6.3.7</string>
+ <string>6.3.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
@@ -1,7 +1,7 @@
#define APP_MAJOR_NUMBER 6
#define APP_MINOR_NUMBER 3
-#define APP_RELEASE_NUMBER 7
+#define APP_RELEASE_NUMBER 8
#define APP_BUILD_NUMBER 0
#define APP_RELEASE_TYPE ""
@@ -1,3 +1,9 @@
+mysql-workbench-@edition@ (6.3.8-1@distrov@) @distro@; urgency=low
+
+ * New release
+
+ -- Mike Lischke (mike.lischke@oracle.com) Di, 14 Jun 2016 11:14:47 +0200
+
mysql-workbench-@edition@ (6.3.7-1@distrov@) @distro@; urgency=low
* New release
@@ -8,7 +8,7 @@
# Here's a usage example:
# rpmbuild -ba mysql-workbench.spec --target=`arch` \
# --define='edition community' \
-# --define='version 6.3.7' \
+# --define='version 6.3.8' \
# --define='release 1'
####################################################################
%bcond_with paramiko
@@ -29,5 +29,5 @@
// Minor Version
// Release Number
//
-[assembly: AssemblyVersion("6.3.7")]
-[assembly: AssemblyFileVersion("6.3.7")]
+[assembly: AssemblyVersion("6.3.8")]
+[assembly: AssemblyFileVersion("6.3.8")]
View
@@ -65,6 +65,9 @@ fi
echo "Updating Info.plist"
sed -e "/<key>CFBundleShortVersionString<\/key>/N;s/.*\n.*<\/string>/ <key>CFBundleShortVersionString<\/key>@ <string>$major.$minor.$release$dot_release_type<\/string>/" -e 'y/@/\n/' -i.bak Info.plist
+echo "Updating mysql-workbench.spec.in"
+sed -e "s/--define='version.*'/--define='version $major.$minor.$release_number'/" -i.bak build/mysql-workbench.spec.in
+
# check if build/debian.in/changelog needs update
echo "Checking if build/debian.in/changelog needs updating"
if ! grep $major.$minor.$release- build/debian.in/changelog; then
@@ -74,7 +77,7 @@ mysql-workbench-@edition@ ($major.$minor.$release$dot_release_type-1@distrov@) @
* New release
- -- `bzr whoami` `date +"%a, %d %b %Y %T %z"`
+ -- `git config user.name` (`git config user.email`) `date +"%a, %d %b %Y %T %z"`
EOF
cat build/debian.in/changelog >> build/debian.in/changelog.new

0 comments on commit 22d3e1b

Please sign in to comment.