fix(rclone)

closes #4220
This commit is contained in:
Jacob Heider 2023-11-27 10:10:33 -05:00 committed by Jacob Heider
parent 34edc6eb1d
commit 1253504148

View file

@ -14,6 +14,7 @@ build:
if: darwin if: darwin
- go build $ARGS -ldflags='-s -w -X github.com/rclone/rclone/fs.Version=v{{version}}' - go build $ARGS -ldflags='-s -w -X github.com/rclone/rclone/fs.Version=v{{version}}'
env: env:
CGO_ENABLED: 0
ARGS: ARGS:
- -trimpath - -trimpath
- -o={{prefix}}/bin/rclone - -o={{prefix}}/bin/rclone
@ -24,4 +25,4 @@ test:
- echo "My version - {{version}}" > test.txt - echo "My version - {{version}}" > test.txt
- rclone copy test.txt dist - rclone copy test.txt dist
- cat dist/test.txt | grep {{version}} - cat dist/test.txt | grep {{version}}
- rclone --version | grep {{version}} - rclone --version | grep {{version}}