Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
chore(repo): auto version the version.go file (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
devtomnl authored Sep 4, 2023
1 parent 4b5d6dd commit cbb5ceb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
8 changes: 6 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"release-type": "go",
"packages": {
".": {
"release-type": "go"
"extra-files": [
"version/version.go"
]
}
}
},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
7 changes: 3 additions & 4 deletions version/version.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package version

// Version info.
var (
Version = "0.14.0"
Meta = "dev"
)
const Version = "0.14.0" // x-release-please-version

var Meta = "dev"

// Git commit/date info, set via linker flags.
var (
Expand Down

0 comments on commit cbb5ceb

Please sign in to comment.