From 18bf67b0db786dffd633eda843884744e8466390 Mon Sep 17 00:00:00 2001 From: "Randal S. Harisch" Date: Mon, 25 Sep 2023 22:32:37 -0600 Subject: [PATCH] chore: removed semver trailing linefeed --- tasks/git-semver.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/git-semver.yaml b/tasks/git-semver.yaml index 74668f3..d2d7c87 100644 --- a/tasks/git-semver.yaml +++ b/tasks/git-semver.yaml @@ -25,7 +25,8 @@ spec: #!/usr/bin/env bash USERNAME=$(cat /workspace/gitauth/username) PASSWORD=$(cat /workspace/gitauth/password) - /tools/dotnet-gitversion /url ${PARAM_REPO} /b ${PARAM_BRANCH} /u ${USERNAME} /p ${PASSWORD} /dynamicRepoLocation /workspace/repo /overrideconfig mode=Mainline /showvariable MajorMinorPatch /verbosity quiet > $(results.version.path) + SEMVER=$(/tools/dotnet-gitversion /url ${PARAM_REPO} /b ${PARAM_BRANCH} /u ${USERNAME} /p ${PASSWORD} /dynamicRepoLocation /workspace/repo /overrideconfig mode=Mainline /showvariable MajorMinorPatch /verbosity quiet) + echo -n ${SEMVER} > $(results.version.path) securityContext: runAsNonRoot: true runAsUser: 65532