diff --git a/.drone.yml b/.drone.yml index 292ee40..a5b4abd 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,7 +12,7 @@ steps: commands: - mkdir dist - go mod vendor - - tar --exclude='./dist' -czf dist/release-source-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz * + - tar --exclude='/dist' --exclude='/dist/*' -czf dist/release-source-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz * when: event: tag