mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-17 18:40:33 +00:00
CI: Implement semantic versioning (#601)
* Semantic versioning * Access env variable correctly * Invoke semantic release * Not an npm package * fix(pencil): Testing making a patch release * c: support feature and breaking as tags
This commit is contained in:
parent
5a1157fe4d
commit
29d6111819
13
.releaserc.yml
Normal file
13
.releaserc.yml
Normal file
@ -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'
|
||||
]
|
||||
}
|
14
appveyor.yml
14
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
|
||||
deploy_script:
|
||||
- semantic-release
|
||||
|
Loading…
Reference in New Issue
Block a user