Skip to content

Commit df4e9ef

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 5d0b68a commit df4e9ef

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

azure-pipelines.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,23 @@ steps:
88
inputs:
99
versionSpec: '5.x'
1010

11-
- task: gitversion/execute@0
11+
- task: gitversion/execute@0
12+
13+
- task: Bash@3
14+
displayName: Update version number in react-spaces package.json to $(GitVersion.SemVer)
15+
inputs:
16+
targetType: 'inline'
17+
script: sed -i "s/0.0.1/$GITVERSIONNUMBER/g" package.json
18+
env:
19+
GITVERSIONNUMBER: $(GitVersion.SemVer)
20+
21+
- task: Bash@3
22+
displayName: Update version number in react-spaces-storybook package.json to $(GitVersion.SemVer)
23+
inputs:
24+
targetType: 'inline'
25+
script: sed -i "s/0.0.1/$GITVERSIONNUMBER/g" .storybook/package.json
26+
env:
27+
GITVERSIONNUMBER: $(GitVersion.SemVer)
1228

1329
- task: NodeTool@0
1430
inputs:

0 commit comments

Comments
 (0)