From 50f72ef9c6e6c18c229aad93716998659f4fd625 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 21 Nov 2024 19:52:14 -0800 Subject: [PATCH] Add a better commit message --- scripts/Commit-Update.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Commit-Update.ps1 b/scripts/Commit-Update.ps1 index 67dd03b..73bb5d0 100644 --- a/scripts/Commit-Update.ps1 +++ b/scripts/Commit-Update.ps1 @@ -3,7 +3,7 @@ $NUSPEC_B64 = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes([S $CHOCOLATEY_B64 = [Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes([System.IO.File]::ReadAllText('wave\tools\chocolateyinstall.ps1'))) $QUERY = @" mutation createCommit { - createCommitOnBranch(input: {branch: {repositoryNameWithOwner: "wavetermdev/chocolatey", branchName: "main"}, message: {headline: "Update hello.txt"}, fileChanges: {additions: [{path: "wave/wave.nuspec", contents: "$NUSPEC_B64"},{path: "wave/tools/chocolateyinstall.ps1", contents:"$CHOCOLATEY_B64"}]}, expectedHeadOid: "$HEAD"}) { + createCommitOnBranch(input: {branch: {repositoryNameWithOwner: "wavetermdev/chocolatey", branchName: "main"}, message: {headline: "chore: update nuspec and chocolateyinstall with new release"}, fileChanges: {additions: [{path: "wave/wave.nuspec", contents: "$NUSPEC_B64"},{path: "wave/tools/chocolateyinstall.ps1", contents:"$CHOCOLATEY_B64"}]}, expectedHeadOid: "$HEAD"}) { commit { url }