mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-26 03:01:53 +01:00
switching back to manually setting the git_release_version with bash
This commit is contained in:
parent
b52f107810
commit
9ead2f2bb8
@ -3,9 +3,6 @@ trigger: none
|
|||||||
pool:
|
pool:
|
||||||
vmImage: 'windows-latest'
|
vmImage: 'windows-latest'
|
||||||
|
|
||||||
variables:
|
|
||||||
gitReleaseVersion: $[ curl --silent "https://api.github.com/repos/joseph-flinn/desktop/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' ]
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- task: DotNetCoreCLI@2
|
- task: DotNetCoreCLI@2
|
||||||
inputs:
|
inputs:
|
||||||
@ -19,6 +16,10 @@ steps:
|
|||||||
userRepository: joseph-flinn/desktop
|
userRepository: joseph-flinn/desktop
|
||||||
displayName: 'git release artifacts'
|
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: |
|
- script: |
|
||||||
ls -alh $(System.ArtifactsDirectory)
|
ls -alh $(System.ArtifactsDirectory)
|
||||||
echo GIT_RELEASE_VERSION=$GIT_RELEASE_VERSION
|
echo GIT_RELEASE_VERSION=$GIT_RELEASE_VERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user