Skip to content

Commit 26bbd61

Browse files
committed
Switch to arangodb own rclone fork repo
1 parent f93fbc9 commit 26bbd61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make_release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ do
2222

2323
. ./targets.env
2424
rm -rf ./rclone && \
25-
git clone --single-branch --depth 1 -b ${RCLONE_VERSION} https://github.com/rclone/rclone.git && cd ./rclone
25+
git clone --single-branch --depth 1 -b ${RCLONE_VERSION} https://github.com/arangodb/rclone-update.git rclone && cd ./rclone
2626

2727
for TARGET in ${TARGETS}
2828
do
@@ -38,7 +38,7 @@ do
3838
-e "TARGET_ARCH=$TARGET_ARCH" \
3939
-u "${UID}:${GID}" \
4040
-w /rclone ${GO_VERSION} \
41-
bash +x -c 'cd /rclone; go mod vendor; go get -u github.com/cloudflare/circl; go get -u github.com/Azure/azure-sdk-for-go/sdk/azidentity; go get -u golang.org/x/crypto; go get google.golang.org/api; go mod tidy; go mod vendor; function build { GOOS=$1 GOARCH=$2 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X github.com/rclone/rclone/fs.VersionSuffix= " -tags cmount -o /rclone/${RCLONE_OUTPUT}_rclone-arangodb-$(echo $1 | sed "s/darwin/macos/g")-$2$([[ $1 == "windows" ]] && echo ".exe"); }; go get -u golang.org/x/sys; build $TARGET_OS $TARGET_ARCH' && \
41+
bash +x -c 'cd /rclone; go mod vendor; go mod tidy; go mod vendor; function build { GOOS=$1 GOARCH=$2 CGO_ENABLED=0 go build -trimpath -ldflags="-s -w -X github.com/rclone/rclone/fs.VersionSuffix= " -tags cmount -o /rclone/${RCLONE_OUTPUT}_rclone-arangodb-$(echo $1 | sed "s/darwin/macos/g")-$2$([[ $1 == "windows" ]] && echo ".exe"); }; build $TARGET_OS $TARGET_ARCH' && \
4242
mv ./*rclone-arangodb-*-* "${RELEASE_OUTPUT}" && rm -rf ./*rclone-arangodb-*-*
4343
printf "\n\nDone building rclone $RCLONE_VERSION for $TARGET_OS-$TARGET_ARCH!\n\n"
4444
done

0 commit comments

Comments
 (0)