This commit is contained in:
2024-04-21 17:53:25 +02:00
parent 93388577df
commit f56b500d61

View File

@@ -33,7 +33,7 @@ spec:
workingDir: $(workspaces.source.path)
script: |
#!/usr/bin/env ash
git checkout $(params.branch)
git checkout -b $(params.branch)
ShortSha=$(/tools/dotnet-gitversion . /showvariable ShortSha)
echo -n "${ShortSha}" | tee $(results.shortSHA.path)
FullSemVer=$(/tools/dotnet-gitversion . /showvariable FullSemVer)