mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
34edc6eb1d
commit
1253504148
1 changed files with 2 additions and 1 deletions
|
@ -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}}
|
||||||
|
|
Loading…
Reference in a new issue