feat: ship as a unitypackage

This commit is contained in:
Paul Pacheco 2019-03-27 06:49:29 -05:00
parent 9be7426efa
commit 11edc142cf
2 changed files with 10 additions and 3 deletions

View File

@ -8,6 +8,10 @@
]
}],
'@semantic-release/release-notes-generator',
'@semantic-release/github'
["@semantic-release/github", {
"assets": [
{"path": "Mirror.unitypackage", "label": "Unity package distribution"}
]
}],
]
}

View File

@ -13,6 +13,7 @@ install:
- bundle install
- cd ..
- cp c:\Tools\curl\bin\libcurl.dll C:\Ruby25-x64\bin
- choco install unitypackager
#build:
# project: Mirror/Networking.sln
@ -27,9 +28,11 @@ build_script:
- ruby checksite.rb
- cd ..
after_build:
- UnityPackager pack Mirror.unitypackage Assets/Mirror Assets/Mirror LICENSE Assets/Mirror/LICENSE
artifacts:
- path: Assets
name: Mirror
- path: Mirror.unitypackage
image: Visual Studio 2017