From da9074e0935dd2ef4cf2a09e614054293f3d7b0a Mon Sep 17 00:00:00 2001 From: Martin Sosic Date: Thu, 29 Sep 2022 12:06:14 +0200 Subject: [PATCH] fixed new-release script to work with release branch. --- waspc/new-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waspc/new-release b/waspc/new-release index f3c07e8a99..ad22580f71 100755 --- a/waspc/new-release +++ b/waspc/new-release @@ -26,7 +26,7 @@ main = do makeNewRelease :: String -> IO () makeNewRelease newVersion = do (ExitSuccess, branchName) <- shellStrict "git rev-parse --abbrev-ref HEAD" empty - when (T.strip branchName /= "main") $ error "You must run this script from the main branch!" + when (T.strip branchName /= "release") $ error "You must run this script from the release branch!" let cabalFileName = "waspc.cabal" oldCabalFileContents <- T.unpack <$> T.IO.readFile cabalFileName