Skip to content

Commit

Permalink
fix(release): give release builds updated semantic-release version
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-adam committed Feb 19, 2020
1 parent 43ce981 commit cd34bc0
Show file tree
Hide file tree
Showing 5 changed files with 9,284 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@
.vscode
*.so

node_modules
package-lock.json
node_modules
6 changes: 6 additions & 0 deletions ci/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ parameters:
steps:
- checkout: self

- script: |
npm ci
npx semantic-release -p @semantic-release/commit-analyzer -p @semantic-release/npm
displayName: 'Update the version number for the build'
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
- script: |
python3 -m aqt install --outputdir $(Build.BinariesDirectory)/Qt 5.13.2 linux desktop -m qtcore qtgui qtnetwork qtwidgets || python3 -m aqt install --outputdir $(Build.BinariesDirectory)/Qt 5.13.2 linux desktop -m qtcore qtgui qtnetwork qtwidgets
displayName: 'Install Qt 5.13.2'
Expand Down
6 changes: 6 additions & 0 deletions ci/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'

- script: |
npm ci
npx semantic-release -p @semantic-release/commit-analyzer -p @semantic-release/npm
displayName: 'Update the version number for the build'
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
- script: |
/bin/bash -c "sudo xcode-select -s /Applications/Xcode_11.app/Contents/Developer"
Expand Down
6 changes: 6 additions & 0 deletions ci/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ steps:
- task: NodeTool@0
inputs:
versionSpec: '12.x'

- script: |
npm ci
npx semantic-release -p @semantic-release/commit-analyzer -p @semantic-release/npm
displayName: 'Update the version number for the build'
condition: eq(variables['Build.SourceBranch'], 'refs/heads/master')
- script: |
cd $(Build.SourcesDirectory)
Expand Down
Loading

0 comments on commit cd34bc0

Please sign in to comment.