This commit is contained in:
parent
112b67998b
commit
2df2c467fa
@ -10,6 +10,7 @@ steps:
|
|||||||
- name: create release-source tar
|
- name: create release-source tar
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
|
- mkdir dist
|
||||||
- go mod vendor
|
- go mod vendor
|
||||||
- tar -czf dist/release-source-$DRONE_TAG-DRONE_STAGE_ARCH.tar.gz *
|
- tar -czf dist/release-source-$DRONE_TAG-DRONE_STAGE_ARCH.tar.gz *
|
||||||
when:
|
when:
|
||||||
@ -18,7 +19,7 @@ steps:
|
|||||||
- name: create release-binary tar
|
- name: create release-binary tar
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
- mkdir dist build
|
- mkdir build
|
||||||
- DESTDIR=build make install
|
- DESTDIR=build make install
|
||||||
- tar -czf dist/release-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz build/* init/*
|
- tar -czf dist/release-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz build/* init/*
|
||||||
when:
|
when:
|
||||||
|
Loading…
Reference in New Issue
Block a user