Skip to content

Commit

Permalink
build(semantic-release): install semantic-release and run after packi…
Browse files Browse the repository at this point in the history
…ng on master
  • Loading branch information
mediumTaj committed Aug 15, 2018
1 parent 723d820 commit 8f99958
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Expand Up @@ -22,6 +22,7 @@ install:
- ps: Install-Product node $env:nodejs_version
# install modules
- pip install --user bumpversion
- npm install @semantic-release/exec
- cmd: >-
rm -rf packages
Expand Down Expand Up @@ -111,6 +112,8 @@ after_build:
dotnet pack .\src\IBM.WatsonDeveloperCloud.TextToSpeech.v1\IBM.WatsonDeveloperCloud.TextToSpeech.v1.csproj --configuration Release
dotnet pack .\src\IBM.WatsonDeveloperCloud.ToneAnalyzer.v3\IBM.WatsonDeveloperCloud.ToneAnalyzer.v3.csproj --configuration Release
dotnet pack .\src\IBM.WatsonDeveloperCloud.VisualRecognition.v3\IBM.WatsonDeveloperCloud.VisualRecognition.v3.csproj --configuration Release
npx semantic-release
}
else
Expand Down Expand Up @@ -215,8 +218,6 @@ artifacts:
name: IBM.WatsonDeveloperCloud.NaturalLanguageUnderstanding.v1
- path: '\src\IBM.WatsonDeveloperCloud.NaturalLanguageClassifier.v1\bin\$(configuration)\*.nupkg'
name: IBM.WatsonDeveloperCloud.NaturalLanguageClassifier.v1
before_deploy:
- ps: npx semantic-release
deploy:
- provider: NuGet
api_key:
Expand Down

0 comments on commit 8f99958

Please sign in to comment.