Skip to content

Commit 0d9b30c

Browse files
committed
Bump the version to 1.2.0 in advance of a release.
Since the JSONEncodingOptions is a new argument with a default, it means the release won't be binary compatible, even though it will be source compatible. Setting the version now so this requirement isn't forgotten.
1 parent fc67aba commit 0d9b30c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Sources/SwiftProtobuf/Version.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ public struct Version {
1919
/// Major version.
2020
static public let major = 1
2121
/// Minor version.
22-
static public let minor = 1
22+
static public let minor = 2
2323
/// Revision number.
24-
static public let revision = 2
24+
static public let revision = 0
2525

2626
/// String form of the version number.
2727
static public let versionString = "\(major).\(minor).\(revision)"

SwiftProtobuf.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'SwiftProtobuf'
3-
s.version = '1.1.2'
3+
s.version = '1.2.0'
44
s.license = { :type => 'Apache 2.0', :file => 'LICENSE.txt' }
55
s.summary = 'Swift Protobuf code generator plugin and runtime library'
66
s.homepage = 'https://github.com/apple/swift-protobuf'

SwiftProtobuf.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,7 +2260,7 @@
22602260
CLANG_WARN_UNREACHABLE_CODE = YES;
22612261
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
22622262
COMBINE_HIDPI_IMAGES = YES;
2263-
CURRENT_PROJECT_VERSION = 1.1.2;
2263+
CURRENT_PROJECT_VERSION = 1.2.0;
22642264
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
22652265
DYLIB_CURRENT_VERSION = 1;
22662266
DYLIB_INSTALL_NAME_BASE = "@rpath";
@@ -2317,7 +2317,7 @@
23172317
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
23182318
COMBINE_HIDPI_IMAGES = YES;
23192319
COPY_PHASE_STRIP = NO;
2320-
CURRENT_PROJECT_VERSION = 1.1.2;
2320+
CURRENT_PROJECT_VERSION = 1.2.0;
23212321
DEBUG_INFORMATION_FORMAT = dwarf;
23222322
DYLIB_CURRENT_VERSION = 1;
23232323
DYLIB_INSTALL_NAME_BASE = "@rpath";

0 commit comments

Comments
 (0)