From b16ca4b4bba58f3687c6f2997c6fc638ed31e827 Mon Sep 17 00:00:00 2001 From: Kassem Wridan Date: Wed, 5 Jan 2022 16:34:05 +0000 Subject: [PATCH] Bump version to 0.8.0 - Preparing for new release to ensure xcdiff can run with Xcode 13 (already supported on main via bloomberg#95) Test Plan: - Check the version is updated via running `swift run xcdiff --version` - Verify CI passes 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 0da1734..68cc9ee 100644 --- a/Documentation/Installation.md +++ b/Documentation/Installation.md @@ -67,7 +67,7 @@ Add xcdiff to your `Package.swift` file: ```swift dependencies: [ // ... - .package(url: "https://github.com/bloomberg/xcdiff", .upToNextMinor(from: "0.7.0")), + .package(url: "https://github.com/bloomberg/xcdiff", .upToNextMinor(from: "0.8.0")), ] ``` diff --git a/Makefile b/Makefile index 7ca5a99..40bd806 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION_MAJOR = 0 -VERSION_MINOR = 7 +VERSION_MINOR = 8 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 cecbe07..45334e9 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, 7, 0, buildMetadataIdentifiers: identifiers) + return Version(0, 8, 0, buildMetadataIdentifiers: identifiers) }() private static let gitHash = "#GIT_SHORT_HASH#" diff --git a/Tests/XCDiffCommandTests/CommandsRunnerTests.swift b/Tests/XCDiffCommandTests/CommandsRunnerTests.swift index b166823..a84efa9 100644 --- a/Tests/XCDiffCommandTests/CommandsRunnerTests.swift +++ b/Tests/XCDiffCommandTests/CommandsRunnerTests.swift @@ -203,7 +203,7 @@ final class CommandsRunnerTests: XCTestCase { let code = subject.run(with: command) // Then - XCTAssertEqual(printer.output, "0.7.0+debug.local\n") + XCTAssertEqual(printer.output, "0.8.0+debug.local\n") XCTAssertEqual(code, 0) }