mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
switching from grep to awk
This commit is contained in:
@@ -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" | grep -Po '"tag_name": "\K.*?(?=")')
|
GIT_RELEASE_VERSION=$(curl --silent "https://api.github.com/repos/joseph-flinn/desktop/releases/latest" | awk -F '"' '/tag_name/{print $4}')
|
||||||
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'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user