Skip to content

Commit 88c7357

Browse files
committed
Make sure the restic version stays on-par with go.mod
Signed-off-by: ccremer <[email protected]>
1 parent dc76db2 commit 88c7357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.restic-integration.vars.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ restore_dir ?= $(integrationtest_dir)/restore
1313

1414
stats_url ?= http://localhost:8091
1515

16-
restic_version ?= 0.12.1
16+
restic_version ?= $(shell go mod edit -json | jq -r '.Require[] | select(.Path == "github.com/restic/restic").Version' | sed "s/v//")
1717
restic_path ?= $(go_bin)/restic
1818
restic_pid ?= $(integrationtest_dir)/restic.pid
1919
restic_url ?= https://github.com/restic/restic/releases/download/v$(restic_version)/restic_$(restic_version)_$(os)_$(arch).bz2

0 commit comments

Comments
 (0)