This commit is contained in:
2024-04-23 11:36:03 +02:00
parent 7dab48c549
commit 5592f2f0ab

View File

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