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.