This commit is contained in:
parent
b0d3778a81
commit
5db234f5b9
@ -10,9 +10,10 @@ 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 --exclude='/dist' --exclude='/dist/*' -czf dist/release-source-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz *
|
- tar -czf release-source-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz *
|
||||||
|
- mkdir dist
|
||||||
|
- mv release-source-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz dist/
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user