From 408da0184aef73f241e5ab2f87b85b36d817f8b6 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 15 Oct 2023 21:50:40 -0700 Subject: [PATCH] Use version appropriate Go module path This theme is packaged as a Go module in order to allow it to be managed as a dependency of Hugo-based websites. Due to the current use of a tag name format that does not meet the the semver-compliant requirement of the Go module framework, the standard procedure for installing the theme in a Hugo-based website as a Go module dependency results in the beta version of the theme from the tip of the theme repository's default branch being installed. The resulting "pseudo-version" of the dependency makes it so that updates of the dependency cannot be managed automatically via the popular Dependabot service. A Go module is identified by a "module path". The Go module framework requires that this path have a major version suffix if the project is at a version of 2.0.0 or above. This project is at version 7.0, so its Go module path must have a suffix of v7 in order to be compliant with the Go module framework. Using a compliant module path as well as compliant tag names benefits the users of this theme by allowing them to manage the dependency in a safe and efficient manner. --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index af958556..563c1460 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/adityatelange/hugo-PaperMod +module github.com/adityatelange/hugo-PaperMod/v7 go 1.12