From 8ae8a1074662dfbef271140bfb4ae424b331dde9 Mon Sep 17 00:00:00 2001 From: Kas Date: Mon, 15 Apr 2024 11:17:31 +0100 Subject: [PATCH] Bump to 0.12.0 (#134) - To prepare for the 0.11.0 release, bumping the xcdiff version by following the release documentation References: - https://github.com/bloomberg/xcdiff/blob/main/Documentation/Release.md Test Plan: - Run xcdiff with the `--version` flag and verify `0.11.0` is displayed ```sh swift run xcdiff --version ``` Signed-off-by: Kassem Wridan --- Documentation/Installation.md | 2 +- Makefile | 2 +- Sources/XCDiffCommand/Constants.swift | 2 +- Tests/XCDiffCommandTests/CommandsRunnerTests.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/Installation.md b/Documentation/Installation.md index b5715c4..ebaed94 100644 --- a/Documentation/Installation.md +++ b/Documentation/Installation.md @@ -71,7 +71,7 @@ Add xcdiff to your `Package.swift` file: ```swift dependencies: [ // ... - .package(url: "https://github.com/bloomberg/xcdiff", .upToNextMinor(from: "0.11.0")), + .package(url: "https://github.com/bloomberg/xcdiff", .upToNextMinor(from: "0.12.0")), ] ``` diff --git a/Makefile b/Makefile index 8ccedc2..e8d55c4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION_MAJOR = 0 -VERSION_MINOR = 11 +VERSION_MINOR = 12 VERSION_PATCH = 0 VERSION = $(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH) GIT_SHORT_HASH = $(shell git rev-parse --short HEAD) diff --git a/Sources/XCDiffCommand/Constants.swift b/Sources/XCDiffCommand/Constants.swift index 9e4a082..9a354d6 100644 --- a/Sources/XCDiffCommand/Constants.swift +++ b/Sources/XCDiffCommand/Constants.swift @@ -24,7 +24,7 @@ final class Constants { debugVersionIdentifier(), gitHashVersionIdentifier(), ].compactMap { $0 } - return Version(0, 11, 0, buildMetadataIdentifiers: identifiers) + return Version(0, 12, 0, buildMetadataIdentifiers: identifiers) }() private static let gitHash = "#GIT_SHORT_HASH#" diff --git a/Tests/XCDiffCommandTests/CommandsRunnerTests.swift b/Tests/XCDiffCommandTests/CommandsRunnerTests.swift index bcfe180..db6d532 100644 --- a/Tests/XCDiffCommandTests/CommandsRunnerTests.swift +++ b/Tests/XCDiffCommandTests/CommandsRunnerTests.swift @@ -209,7 +209,7 @@ final class CommandsRunnerTests: XCTestCase { let code = subject.run(with: command) // Then - XCTAssertEqual(printer.output, "0.11.0+debug.local\n") + XCTAssertEqual(printer.output, "0.12.0+debug.local\n") XCTAssertEqual(code, 0) }