From 061131ab05bccc115c23f58d11c4403d395b6a6a Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 21 May 2020 02:58:34 -0700 Subject: [PATCH] [skip changelog] Use local path for github.com/arduino/arduino-cli module dependency of docsgen Previously, docsgen used a pinned version of the github.com/arduino/arduino-cli module, which resulted in the generated command documentation not reflecting updates to the Arduino CLI command line interface made after the pinned version. The new approach is to use the current version of the module from the local path, resulting in the generated documentation always matching the associated version of Arduino CLI. --- docsgen/go.mod | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docsgen/go.mod b/docsgen/go.mod index 40807169abe..6ef7b4955a5 100644 --- a/docsgen/go.mod +++ b/docsgen/go.mod @@ -2,7 +2,9 @@ module github.com/arduino/arduino-cli/docsgen go 1.14 +replace github.com/arduino/arduino-cli => ../ + require ( - github.com/arduino/arduino-cli v0.0.0-20200228161349-4b874a02b096 + github.com/arduino/arduino-cli v0.0.0 github.com/spf13/cobra v0.0.6 )