mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-23 19:29:17 +03:00
fixed new-release script to work with release branch.
This commit is contained in:
parent
f637dd206f
commit
da9074e093
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user