Skip to content

Commit

Permalink
fix(CI): deploy on travis errored
Browse files Browse the repository at this point in the history
Some tweaks in the deploy script command

Issues: #6
  • Loading branch information
texel-sensei committed May 8, 2018
1 parent aeae279 commit 2b55593
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"repositoryUrl": "https://github.com/texel-sensei/ayayaa",
"repositoryUrl": "https://github.com/texel-sensei/ayayaa.git",
"verifyConditions": ["@semantic-release/github"],
"prepare": [
{
Expand Down
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: csharp

solution: src/core/ayaya-server/ayaya-server.sln
mono: none
dotnet: 2.0.0
Expand All @@ -10,6 +11,4 @@ script:
deploy:
provider: script
skip_cleanup: true
script:
- nvm install lts/*
- npx travis-deply-once "npx semantic-release"
script: bash deploy.sh
12 changes: 12 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#! /usr/bin/env bash

set -x

chmod ugo+x create_release.sh

source $NVM_DIR/nvm.sh
nvm --version
nvm install lts/*
npm install semantic-release@15
npm install @semantic-release/exec
npx semantic-release@15

0 comments on commit 2b55593

Please sign in to comment.