Skip to content

Commit

Permalink
Update the local release branch after release PR merge
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisCAD committed Aug 3, 2021
1 parent cf79b57 commit 6b48679
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Releasing.main.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
@file:Repository("https://repo.maven.apache.org/maven2/")
//@file:Repository("https://oss.sonatype.org/content/repositories/snapshots")
//@file:Repository("file:///Users/louiscad/.m2/repository")
@file:DependsOn("com.louiscad.incubator:lib-publishing-helpers:0.2.2")
@file:DependsOn("com.louiscad.incubator:lib-publishing-helpers:0.2.3")

import Releasing_main.CiReleaseFailureCause.*
import java.io.File
Expand Down Expand Up @@ -288,6 +288,10 @@ fun CliUi.runReleaseStep(step: ReleaseStep): Unit = when (step) {
}
`Request PR merge` -> {
requestManualAction("Merge the pull request for the new version on GitHub.")
printInfo("Now that the pull request has been merged into the release branch on GitHub,")
printInfo("we are going to update our local release branch")
requestUserConfirmation("Ready?")
git.updateBranchFromOrigin(targetBranch = "release")
}
`Request GitHub release publication` -> {
requestManualAction("Publish release on GitHub with the changelog.")
Expand Down

0 comments on commit 6b48679

Please sign in to comment.