-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b5ee8a
commit 87810a6
Showing
2 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/caddy.go b/caddy.go | ||
index 584865bd..082b9b6c 100644 | ||
--- a/caddy.go | ||
+++ b/caddy.go | ||
@@ -840,7 +840,10 @@ func InstanceID() (uuid.UUID, error) { | ||
// and https://github.com/golang/go/issues/50603. | ||
// | ||
// This function is experimental and subject to change or removal. | ||
+var ShortVersion = "(devel)" | ||
+ | ||
func Version() (simple, full string) { | ||
+ return ShortVersion, ShortVersion | ||
// the currently-recommended way to build Caddy involves | ||
// building it as a dependency so we can extract version | ||
// information from go.mod tooling; once the upstream |