Skip to content

Commit 015f2a1

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent d2b392a commit 015f2a1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

azure-pipelines.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,23 @@ steps:
1313

1414
- task: gitversion/execute@0
1515

16+
- script: echo "##vso[build.updatebuildnumber]$(GitVersion.MajorMinorPatch)"
17+
1618
- task: Bash@3
17-
displayName: Update version number in react-spaces package.json to $(GitVersion.SemVer)
19+
displayName: Update version number in react-spaces package.json
1820
inputs:
1921
targetType: 'inline'
20-
script: sed -i "s/0.2.2/$(GitVersion.MajorMinorPatch)/g" package.json
22+
script: sed -i "s/0.2.2/$GITVERSIONNUMBER/g" package.json
2123
env:
22-
GITVERSIONNUMBER: $(GitVersion.SemVer)
24+
GITVERSIONNUMBER: $(GitVersion.MajorMinorPatch)
2325

2426
- task: Bash@3
25-
displayName: Update version number in react-spaces-storybook package.json to $(GitVersion.SemVer)
27+
displayName: Update version number in react-spaces-storybook package.json
2628
inputs:
2729
targetType: 'inline'
28-
script: sed -i "s/0.2.2/$(GitVersion.MajorMinorPatch)/g" .storybook/package.json
30+
script: sed -i "s/0.2.2/$GITVERSIONNUMBER/g" .storybook/package.json
2931
env:
30-
GITVERSIONNUMBER: $(GitVersion.SemVer)
32+
GITVERSIONNUMBER: $(GitVersion.MajorMinorPatch)
3133

3234
- task: NodeTool@0
3335
inputs:

0 commit comments

Comments
 (0)