1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-09-27 03:53:00 +02:00

switching back to manually setting the git_release_version with bash

This commit is contained in:
Joseph Flinn 2020-12-16 19:50:31 +00:00
parent b52f107810
commit 9ead2f2bb8

View File

@ -3,9 +3,6 @@ trigger: none
pool:
vmImage: 'windows-latest'
variables:
gitReleaseVersion: $[ curl --silent "https://api.github.com/repos/joseph-flinn/desktop/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' ]
steps:
- task: DotNetCoreCLI@2
inputs:
@ -19,6 +16,10 @@ steps:
userRepository: joseph-flinn/desktop
displayName: 'git release artifacts'
- bash: |
GIT_RELEASE_VERSION=$(curl --silent "https://api.github.com/repos/joseph-flinn/desktop/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")')
echo "##vso[task.setvariable variable=git_release_version]$GIT_RELEASE_VERSION"
- script: |
ls -alh $(System.ArtifactsDirectory)
echo GIT_RELEASE_VERSION=$GIT_RELEASE_VERSION