From c2f492587c578b6cee26bd18a25f463a2856fbf3 Mon Sep 17 00:00:00 2001 From: Chris McGee Date: Fri, 2 May 2025 08:45:01 -0400 Subject: [PATCH] Update swiftly version to 1.0.1 in preparation for a patch release --- Sources/Swiftly/Init.swift | 5 +++-- Sources/SwiftlyCore/SwiftlyCore.swift | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Sources/Swiftly/Init.swift b/Sources/Swiftly/Init.swift index e0c063fd..bc071334 100644 --- a/Sources/Swiftly/Init.swift +++ b/Sources/Swiftly/Init.swift @@ -42,10 +42,11 @@ internal struct Init: SwiftlyCommand { if var config, !overwrite && ( config.version == SwiftlyVersion(major: 0, minor: 4, patch: 0, suffix: "dev") || - config.version == SwiftlyVersion(major: 0, minor: 4, patch: 0) + config.version == SwiftlyVersion(major: 0, minor: 4, patch: 0) || + config.version == SwiftlyVersion(major: 1, minor: 0, patch: 0) ) { - // This is a simple upgrade from the 0.4.0-dev pre-release, or 0.4.0 release + // This is a simple upgrade from a previous release that has a compatible configuration // Move our executable over to the correct place try Swiftly.currentPlatform.installSwiftlyBin() diff --git a/Sources/SwiftlyCore/SwiftlyCore.swift b/Sources/SwiftlyCore/SwiftlyCore.swift index 36c1aaa2..faa7a1cd 100644 --- a/Sources/SwiftlyCore/SwiftlyCore.swift +++ b/Sources/SwiftlyCore/SwiftlyCore.swift @@ -1,6 +1,6 @@ import Foundation -public let version = SwiftlyVersion(major: 1, minor: 0, patch: 1, suffix: "dev") +public let version = SwiftlyVersion(major: 1, minor: 0, patch: 1) /// A separate home directory to use for testing purposes. This overrides swiftly's default /// home directory location logic.