From e5198b12b8691f4ee17e034a3465b9bf280e64b6 Mon Sep 17 00:00:00 2001 From: Sam Deane Date: Tue, 26 Nov 2024 17:59:33 +0000 Subject: [PATCH] Rename upload as upload.template to avoid overwriting --- Sources/ReleaseTools/OptionParser.swift | 2 +- Sources/Resources/Scripts/{upload => upload.template} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Sources/Resources/Scripts/{upload => upload.template} (100%) diff --git a/Sources/ReleaseTools/OptionParser.swift b/Sources/ReleaseTools/OptionParser.swift index 75ced0c..6124055 100644 --- a/Sources/ReleaseTools/OptionParser.swift +++ b/Sources/ReleaseTools/OptionParser.swift @@ -160,7 +160,7 @@ class OptionParser { // ... on the command line buildOffset = offset - } else if setting = getDefault(for: "offset"), let offset = UInt(setting) { + } else if let setting = getDefault(for: "offset"), let offset = UInt(setting) { // ... or as a default setting buildOffset = offset } diff --git a/Sources/Resources/Scripts/upload b/Sources/Resources/Scripts/upload.template similarity index 100% rename from Sources/Resources/Scripts/upload rename to Sources/Resources/Scripts/upload.template