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