cd493b946f
This reverts commit 1580d72590
.
27 lines
832 B
YAML
27 lines
832 B
YAML
language: php
|
|
php: 7.3
|
|
|
|
install: true
|
|
script: true
|
|
|
|
before_deploy:
|
|
- nvm install 10
|
|
- node -v
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.15.2
|
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
|
- RELEASE_TAG=$TRAVIS_TAG ./scripts/release.sh
|
|
|
|
deploy:
|
|
provider: releases
|
|
api_key: $GITHUB_TOKEN
|
|
file: blessing-skin-server-$TRAVIS_TAG.zip
|
|
name: $TRAVIS_TAG
|
|
skip_cleanup: true
|
|
on:
|
|
tags: true
|
|
|
|
after_deploy:
|
|
- curl -s -o github-release.tar.bz2 -L https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2
|
|
- tar -xf github-release.tar.bz2
|
|
- ./bin/linux/amd64/github-release -v edit -u bs-community -r blessing-skin-server -t $TRAVIS_TAG -d "$(cat resources/misc/changelogs/en/$TRAVIS_TAG.md && echo -e '\n---\n' && cat resources/misc/changelogs/zh_CN/$TRAVIS_TAG.md)"
|