update circleci buildscript

This commit is contained in:
yushijinhun 2018-12-09 13:18:31 +08:00
parent 78d13a42f6
commit 7f541a02e6
No known key found for this signature in database
GPG key ID: 5BC167F73EA558E4

View file

@ -1,11 +1,9 @@
version: 2
general:
branches:
only:
- master
jobs:
build:
branches:
only:
- master
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/authlib-injector
@ -16,7 +14,7 @@ jobs:
- checkout
- restore_cache:
keys:
- v1-cache
- v1-cache
- run: 'git clone --single-branch --branch=toolchain --depth=1 git@github.com:yushijinhun/authlib-injector.yushi.moe ~/tools'
- run: 'echo $(( $(~/tools/get-latest-build-number.sh) + 1 )) > ~/build_number && echo "Build Number: $(<~/build_number)"'
- run: '~/tools/authlib-injector-deploy.sh --local-repo ~/authlib-injector.yushi.moe update-local-repo'