Enable auto releasing

This commit is contained in:
Pig Fang 2019-03-14 15:44:41 +08:00
parent fc44b09df1
commit a8bccaca44

View File

@ -75,6 +75,15 @@ jobs:
- run: touch storage/testing.sqlite
- run: ./vendor/bin/phpunit
release:
working_directory: ~/workspace
docker:
- image: blessingskin/ci:release
steps:
- run: git clone https://github.com/bs-community/release-tool.git .
- run: chmod +x ./release.sh
- run: ./release.sh
workflows:
version: 2
install_and_test:
@ -90,3 +99,12 @@ workflows:
- php7.3:
requires:
- composer
- release:
requires:
- php7.1
- php7.2
- php7.3
- frontend
filters:
tags:
only: /^\d+\.\d+\.\d+/