mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
Merge pull request #169 from bzz/fixing-ci-continue
HOTFIX: Fixing release automation
This commit is contained in:
commit
6f6555328e
@ -58,6 +58,8 @@ jobs:
|
||||
|
||||
- name: 'linux packages'
|
||||
stage: release
|
||||
install:
|
||||
- go get -v -t ./...
|
||||
script: make packages
|
||||
deploy:
|
||||
provider: releases
|
||||
@ -66,6 +68,7 @@ jobs:
|
||||
file_glob: true
|
||||
file: build/*.tar.gz
|
||||
skip_cleanup: true
|
||||
tags: true
|
||||
|
||||
- name: 'linux shared lib'
|
||||
stage: release
|
||||
@ -79,6 +82,7 @@ jobs:
|
||||
file:
|
||||
- ./.shared/linux-x86-64/libenry.so
|
||||
skip_cleanup: true
|
||||
tags: true
|
||||
|
||||
- name: 'macOS shared lib'
|
||||
stage: release
|
||||
@ -101,6 +105,7 @@ jobs:
|
||||
secure: $GITHUB_TOKEN
|
||||
file: ./.shared/darwin/libenry.dylib
|
||||
skip_cleanup: true
|
||||
tags: true
|
||||
|
||||
- name: 'java: publish to maven'
|
||||
stage: publish
|
||||
@ -135,3 +140,4 @@ jobs:
|
||||
file_glob: true
|
||||
file: ./target/enry-java*.jar
|
||||
skip_cleanup: true
|
||||
tags: true
|
||||
|
10
Makefile
10
Makefile
@ -3,12 +3,12 @@ PROJECT = enry
|
||||
COMMANDS = cmd/enry
|
||||
|
||||
# Including ci Makefile
|
||||
MAKEFILE = Makefile.main
|
||||
CI_REPOSITORY = https://github.com/src-d/ci.git
|
||||
CI_FOLDER = .ci
|
||||
CI_REPOSITORY ?= https://github.com/src-d/ci.git
|
||||
CI_BRANCH ?= v1
|
||||
CI_PATH ?= .ci
|
||||
MAKEFILE := $(CI_PATH)/Makefile.main
|
||||
$(MAKEFILE):
|
||||
@git clone --quiet $(CI_REPOSITORY) $(CI_FOLDER); \
|
||||
cp $(CI_FOLDER)/$(MAKEFILE) .;
|
||||
git clone --quiet --depth 1 -b $(CI_BRANCH) $(CI_REPOSITORY) $(CI_PATH);
|
||||
-include $(MAKEFILE)
|
||||
|
||||
# Docsrv: configure the languages whose api-doc can be auto generated
|
||||
|
Loading…
Reference in New Issue
Block a user