Skip to content

Commit 138da69

Browse files
committed
Added build scripts for automatic semantic release
1 parent 297139d commit 138da69

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

.releaserc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
["@semantic-release/github", {
6+
"assets": [
7+
{"path": "MLAPI/bin/Release/net35/MLAPI.dll"},
8+
{"path": "*.unitypackage"}
9+
]
10+
}]
11+
]
12+
}

appveyor.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ skip_commits:
1010
files:
1111
- docs/*
1212

13+
skip_tags: true
14+
1315
build:
1416
project: MLAPI.sln
1517
verbosity: minimal
@@ -54,6 +56,17 @@ for:
5456
test:
5557
assemblies:
5658
- 'MLAPI-Tests\bin\Release\*\MLAPI-Tests.dll'
59+
-
60+
matrix:
61+
only:
62+
- branch: master
63+
- configuration: Release
64+
cache:
65+
- '%APPDATA%\npm'
66+
install:
67+
- npm install -g semantic-release
68+
deploy_script:
69+
- semantic-release
5770
-
5871
matrix:
5972
only:

0 commit comments

Comments
 (0)