Skip to content

Commit

Permalink
fix(ci): Version setting on CI now picks up correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanRynne committed Jan 2, 2023
1 parent f52d6c4 commit 44fc99e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- run:
name: "Set connector internal version"
command: |
$VERSION = if([string]::IsNullOrEmpty($env:CIRCLE_TAG)) { "2.0.0.$($env:WORKFLOW_NUM)" } else { $env:CIRCLE_TAG }
$env:VERSION = if([string]::IsNullOrEmpty($env:CIRCLE_TAG)) { "2.0.0.$($env:WORKFLOW_NUM)" } else { $env:CIRCLE_TAG }
(Get-Content ./Speckle.pq).replace('[Version = "2.0.0"]', '[Version = "'+$($env:VERSION)+'"]') | Set-Content ./Speckle.pq
- run:
name: "Build Data Connector"
Expand Down

0 comments on commit 44fc99e

Please sign in to comment.