diff --git a/.releaserc.yml b/.releaserc.yml new file mode 100644 index 000000000..08b0ce562 --- /dev/null +++ b/.releaserc.yml @@ -0,0 +1,13 @@ +{ + "plugins": [ + ["@semantic-release/commit-analyzer", { + "preset": "angular", + "releaseRules": [ + {"type": "breaking", "release": "major"}, + {"type": "feature", "release": "minor"}, + ] + }], + '@semantic-release/release-notes-generator', + '@semantic-release/github' + ] +} \ No newline at end of file diff --git a/appveyor.yml b/appveyor.yml index 4ebb03a35..6185b3f8f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -33,14 +33,8 @@ artifacts: image: Visual Studio 2017 +before_deploy: + - npm install -g semantic-release@15 -deploy: - description: 'This is a bleeding edge release. BACKUP BEFORE USING THIS AUTOMATED BUILD\n$(APPVEYOR_REPO_COMMIT_MESSAGE)' - provider: GitHub - auth_token: - secure: G42snf8s5fEos7UfoRSW6eW+8rqGGMH3iw1ZCjRUjcUSKupHUfrKJMXQ11wbjRuW # your encrypted token from GitHub - artifact: Mirror.zip # upload all NuGet packages to release assets - draft: false - prerelease: false - on: - branch: master \ No newline at end of file +deploy_script: + - semantic-release