Merge pull request #169 from bzz/fixing-ci-continue

HOTFIX: Fixing release automation
This commit is contained in:
Alexander 2018-10-24 11:20:20 +02:00 committed by GitHub
commit 6f6555328e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 5 deletions

View File

@ -58,6 +58,8 @@ jobs:
- name: 'linux packages' - name: 'linux packages'
stage: release stage: release
install:
- go get -v -t ./...
script: make packages script: make packages
deploy: deploy:
provider: releases provider: releases
@ -66,6 +68,7 @@ jobs:
file_glob: true file_glob: true
file: build/*.tar.gz file: build/*.tar.gz
skip_cleanup: true skip_cleanup: true
tags: true
- name: 'linux shared lib' - name: 'linux shared lib'
stage: release stage: release
@ -79,6 +82,7 @@ jobs:
file: file:
- ./.shared/linux-x86-64/libenry.so - ./.shared/linux-x86-64/libenry.so
skip_cleanup: true skip_cleanup: true
tags: true
- name: 'macOS shared lib' - name: 'macOS shared lib'
stage: release stage: release
@ -101,6 +105,7 @@ jobs:
secure: $GITHUB_TOKEN secure: $GITHUB_TOKEN
file: ./.shared/darwin/libenry.dylib file: ./.shared/darwin/libenry.dylib
skip_cleanup: true skip_cleanup: true
tags: true
- name: 'java: publish to maven' - name: 'java: publish to maven'
stage: publish stage: publish
@ -135,3 +140,4 @@ jobs:
file_glob: true file_glob: true
file: ./target/enry-java*.jar file: ./target/enry-java*.jar
skip_cleanup: true skip_cleanup: true
tags: true

View File

@ -3,12 +3,12 @@ PROJECT = enry
COMMANDS = cmd/enry COMMANDS = cmd/enry
# Including ci Makefile # Including ci Makefile
MAKEFILE = Makefile.main CI_REPOSITORY ?= https://github.com/src-d/ci.git
CI_REPOSITORY = https://github.com/src-d/ci.git CI_BRANCH ?= v1
CI_FOLDER = .ci CI_PATH ?= .ci
MAKEFILE := $(CI_PATH)/Makefile.main
$(MAKEFILE): $(MAKEFILE):
@git clone --quiet $(CI_REPOSITORY) $(CI_FOLDER); \ git clone --quiet --depth 1 -b $(CI_BRANCH) $(CI_REPOSITORY) $(CI_PATH);
cp $(CI_FOLDER)/$(MAKEFILE) .;
-include $(MAKEFILE) -include $(MAKEFILE)
# Docsrv: configure the languages whose api-doc can be auto generated # Docsrv: configure the languages whose api-doc can be auto generated