From fa655abfce32d987d164d3b98655d152cd1e0ade Mon Sep 17 00:00:00 2001 From: John Simons Date: Wed, 2 Mar 2022 13:08:33 +1000 Subject: [PATCH] The last commit sha from head --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d2f01339b..9fcad1126f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -166,4 +166,4 @@ jobs: tar -xf OctopusTools.$VERSION.linux-x64.tar.gz zip OctopusTools.Zips.$VERSION.zip *.zip *.tar.gz ./octo push --space "Integrations" --package Octopus.Cli.$VERSION.nupkg --package Octopus.DotNet.Cli.$VERSION.nupkg --package OctopusTools.$VERSION.nupkg --package Octo.Docker.Image.$VERSION.tar.gz --package OctopusTools.Packages.linux-x64.$VERSION.zip --package OctopusTools.Zips.$VERSION.zip --overwrite-mode OverwriteExisting - ./octo create-release --space "Integrations" --project "Octopus CLI" --packageVersion "$VERSION" --package "*:NuGet.CommandLine:4.4.1" --gitRef "${{ github.head_ref || github.ref }}" --gitCommit "${{ github.event.push.after || github.event.pull_request.head.sha }}" + ./octo create-release --space "Integrations" --project "Octopus CLI" --packageVersion "$VERSION" --package "*:NuGet.CommandLine:4.4.1" --gitRef "${{ github.head_ref || github.ref }}" --gitCommit "${{ github.event.after || github.event.pull_request.head.sha }}"