diff init40-git.gradle @ 312:0a6b93585fbf

use git flow commands
author Marc Davis <davis@ssdt-ohio.org>
date Wed, 01 Feb 2023 13:13:29 -0500
parents 7bf282e58ce7
children 7ca1fbf8636a
line wrap: on
line diff
--- a/init40-git.gradle	Wed Feb 01 11:01:56 2023 -0500
+++ b/init40-git.gradle	Wed Feb 01 13:13:29 2023 -0500
@@ -320,7 +320,7 @@
                     println "DRY RUN".center(60)
                     println("-" * 60)
 
-                    println "hg flow ${releaseStream} start v${releaseVersion} --dirty --dry-run".execute().text
+                    println "git flow ${releaseStream} start v${releaseVersion} --dry-run".execute().text
 
                     println "-" * 60
 
@@ -328,8 +328,8 @@
                         throw new BuildCancelledException("release branching canceled by user request")
                     }
 
-                    println "hg flow ${releaseStream} start v${releaseVersion} --dirty".execute().text
-                    println "hg update ${releaseStream}/v${releaseVersion}".execute().text
+                    println "git flow ${releaseStream} start v${releaseVersion} ".execute().text
+                    println "git checkout ${releaseStream}/v${releaseVersion}".execute().text
 
                     setBranchInfo()