Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wanlwanl authored Jan 15, 2025
1 parent 8f42546 commit 34316aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .scripts/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ stages:
name: SetRLCCommonDevVersion
workingDirectory: $(Build.SourcesDirectory)/packages/rlc-common
- script: |
export DEV_VERSION=$(node -p -e "require('../rlc-common/package.json')")
export DEV_VERSION=$(node -p -e "require('../rlc-common/package.json').version")
jq --arg DEV_VERSION "$DEV_VERSION" '.dependencies["@azure-tools/rlc-common"] = $DEV_VERSION' package.json > temp.json
mv temp.json package.json
condition: or(eq(variables['SetDevVersion'], 'true'), and(eq(variables['SetDevVersion'], ''), eq(variables['Build.Reason'],'Schedule'), eq(variables['System.TeamProject'], 'internal')))
Expand Down

0 comments on commit 34316aa

Please sign in to comment.