Skip to content

Commit 8f99958

Browse files
committed
build(semantic-release): install semantic-release and run after packing on master
1 parent 723d820 commit 8f99958

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ install:
2222
- ps: Install-Product node $env:nodejs_version
2323
# install modules
2424
- pip install --user bumpversion
25+
- npm install @semantic-release/exec
2526
- cmd: >-
2627
rm -rf packages
2728
@@ -111,6 +112,8 @@ after_build:
111112
dotnet pack .\src\IBM.WatsonDeveloperCloud.TextToSpeech.v1\IBM.WatsonDeveloperCloud.TextToSpeech.v1.csproj --configuration Release
112113
dotnet pack .\src\IBM.WatsonDeveloperCloud.ToneAnalyzer.v3\IBM.WatsonDeveloperCloud.ToneAnalyzer.v3.csproj --configuration Release
113114
dotnet pack .\src\IBM.WatsonDeveloperCloud.VisualRecognition.v3\IBM.WatsonDeveloperCloud.VisualRecognition.v3.csproj --configuration Release
115+
116+
npx semantic-release
114117
}
115118
116119
else
@@ -215,8 +218,6 @@ artifacts:
215218
name: IBM.WatsonDeveloperCloud.NaturalLanguageUnderstanding.v1
216219
- path: '\src\IBM.WatsonDeveloperCloud.NaturalLanguageClassifier.v1\bin\$(configuration)\*.nupkg'
217220
name: IBM.WatsonDeveloperCloud.NaturalLanguageClassifier.v1
218-
before_deploy:
219-
- ps: npx semantic-release
220221
deploy:
221222
- provider: NuGet
222223
api_key:

0 commit comments

Comments
 (0)