Skip to content

Commit

Permalink
ci: use correct tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Nov 23, 2023
1 parent b997278 commit d895dcc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions azure-pipelines-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ trigger:
pool:
vmImage: ubuntu-latest

variables:
TAG: $[replace(variables['Build.SourceBranch'], 'refs/tags/', '')]

steps:
- script: echo $(Build.SourceBranch) | sed 's/refs\/tags\///'
- script: echo $TAG
displayName: 'Output tag'
env:
TAG: $(TAG)
- script: yarn install --ignore-engines && npx playwright install && yarn global add ts-node
displayName: 'Install dependencies'
- script: ts-node scripts/downloadGithubReleasePackage.ts
- script: TAG=echo $(Build.SourceBranch) | sed 's/refs\/tags\///' ts-node scripts/downloadGithubReleasePackage.ts
displayName: 'Download release artifact from GitHub'
env:
TAG: $(Build.SourceBranch) | sed 's/refs\/tags\///'
TAG: $(TAG)
- script: yarn build:example-website
displayName: 'Build website'
env:
Expand Down

0 comments on commit d895dcc

Please sign in to comment.