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