From dc5794d1ce1fdfeee96da53857fc9776fdc99ec4 Mon Sep 17 00:00:00 2001 From: Marcin Iwanicki Date: Fri, 16 Oct 2020 17:03:56 +0100 Subject: [PATCH] Bump version to 0.5.0 (#68) Signed-off-by: Marcin Iwanicki --- 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 4ab4bb0..fdc8d45 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.4.0")), + .package(url: "https://github.com/bloomberg/xcdiff", .upToNextMinor(from: "0.5.0")), ] ``` diff --git a/Makefile b/Makefile index 2f8ab42..266fd2f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION_MAJOR = 0 -VERSION_MINOR = 4 +VERSION_MINOR = 5 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 7e31356..a8b9c76 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, 4, 0, buildMetadataIdentifiers: identifiers) + return Version(0, 5, 0, buildMetadataIdentifiers: identifiers) }() private static let gitHash = "#GIT_SHORT_HASH#" diff --git a/Tests/XCDiffCommandTests/CommandsRunnerTests.swift b/Tests/XCDiffCommandTests/CommandsRunnerTests.swift index 5b8b985..91f7df5 100644 --- a/Tests/XCDiffCommandTests/CommandsRunnerTests.swift +++ b/Tests/XCDiffCommandTests/CommandsRunnerTests.swift @@ -196,7 +196,7 @@ final class CommandsRunnerTests: XCTestCase { let code = subject.run(with: command) // Then - XCTAssertEqual(printer.output, "0.4.0+debug.local\n") + XCTAssertEqual(printer.output, "0.5.0+debug.local\n") XCTAssertEqual(code, 0) }