Skip to content

Commit

Permalink
Actually add and commit code to git
Browse files Browse the repository at this point in the history
  • Loading branch information
kpgalligan committed Aug 24, 2024
1 parent 73e2c71 commit 088ffcd
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,25 @@ class GithubReleaseArtifactManager(
)
}.assertNormalExitValue()

// Add and commit
project.logger.warn("Running git checkout new branch")
project.exec {
commandLine(
"git",
"add",
"."
)
}.assertNormalExitValue()

project.exec {
commandLine(
"git",
"commit",
"-m",
"KMP SPM package release for $version"
)
}.assertNormalExitValue()

// Force-update the tag created by the GitHub release
project.logger.warn("Running git tag")
project.exec {
Expand Down

0 comments on commit 088ffcd

Please sign in to comment.