1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-07 09:31:31 +01:00

adding another awk script to clean up version output

This commit is contained in:
Joseph Flinn 2020-12-16 21:54:56 +00:00
parent e0cc09f656
commit 53f15dc788

View File

@ -18,7 +18,7 @@ steps:
displayName: 'git release artifacts' displayName: 'git release artifacts'
- bash: | - 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" echo "##vso[task.setvariable variable=git_release_version]$GIT_RELEASE_VERSION"
displayName: 'set git_release_version' displayName: 'set git_release_version'