From 71560a1a2849745ea64992288a0226e3a84e8ea9 Mon Sep 17 00:00:00 2001 From: goat Date: Sun, 10 Jul 2022 18:02:49 +0200 Subject: [PATCH] ci: actually add hash to object --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0edf6b413..c0eba166a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -82,7 +82,7 @@ jobs: } else { Move-Item -Force ".\canary.zip" ".\${branchName}\latest.zip" $versionData.AssemblyVersion = $newVersion - $versionData.GitSha = $newVersion + $versionData | add-member -Force -Name "GitSha" $newVersion -MemberType NoteProperty $versionData | ConvertTo-Json -Compress | Out-File ".\${branchName}\version" }