From 53f15dc78864e38e9e12a1459c47526a8c02d3d5 Mon Sep 17 00:00:00 2001 From: Joseph Flinn Date: Wed, 16 Dec 2020 21:54:56 +0000 Subject: [PATCH] adding another awk script to clean up version output --- .az-pipelines/sign-windows-artifacts.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.az-pipelines/sign-windows-artifacts.yml b/.az-pipelines/sign-windows-artifacts.yml index cbf3734002..53cce6bc41 100644 --- a/.az-pipelines/sign-windows-artifacts.yml +++ b/.az-pipelines/sign-windows-artifacts.yml @@ -18,7 +18,7 @@ steps: displayName: 'git release artifacts' - bash: | - GIT_RELEASE_VERSION=$(curl --silent "https://api.github.com/repos/joseph-flinn/desktop/releases/latest" | awk -F '"' '/tag_name/{print $4}') + GIT_RELEASE_VERSION=$(curl --silent "https://api.github.com/repos/joseph-flinn/desktop/releases/latest" | awk -F '"' '/tag_name/{print $4}' | awk '{print substr($1, 2); }') echo "##vso[task.setvariable variable=git_release_version]$GIT_RELEASE_VERSION" displayName: 'set git_release_version'