This commit is contained in:
parent
b0d3778a81
commit
5db234f5b9
@ -10,9 +10,10 @@ steps:
|
||||
- name: create release-source tar
|
||||
image: golang
|
||||
commands:
|
||||
- mkdir dist
|
||||
- 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:
|
||||
event: tag
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user