Skip to content

Commit

Permalink
ci: Semantic releases
Browse files Browse the repository at this point in the history
  • Loading branch information
r-dh committed Jul 17, 2020
1 parent d4cb100 commit a4d04d0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/github", {
"assets": [
{"path": "*.unitypackage"}
],
}]
]
}
24 changes: 22 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,42 @@
version: '{branch}-1.0.{build}'
version: '{branch}-{build}'

skip_tags: true

image: Visual Studio 2019
configuration: Release

environment:
nodejs_version: 12

skip_commits:
files:
- '.gitignore'
- '*.md'

before_build:
- nuget restore
build:
project: Maria.sln
verbosity: minimal

before_package:
- ps: .\BuildUnityPackages.ps1

artifacts:
- path: '*.unitypackage'

deploy:
description: 'Release'
provider: GitHub
auth_token:
secure: iKdjMlSER5f4UWOvLmfM43Tf1xYs6hmF4yfvJllDC18xMr9F/nvHNFkIQUbqW5Ry
secure: iKdjMlSER5f4UWOvLmfM43Tf1xYs6hmF4yfvJllDC18xMr9F/nvHNFkIQUbqW5Ry

cache: '%APPDATA%\npm'

install:
- ps: >-
Install-Product node $env:nodejs_version
npm install -g semantic-release
deploy_script:
- semantic-release

0 comments on commit a4d04d0

Please sign in to comment.