Debug package action
This commit is contained in:
parent
07ffc47ecd
commit
6e210136a1
2
.github/workflows/package.yml
vendored
2
.github/workflows/package.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
- name: Get the version
|
||||
id: get_version
|
||||
run: |
|
||||
echo 'package main; import "fmt"; import "pkg/util/version"; func main() { fmt.Println(version.Full()) }' > print_version.go
|
||||
echo 'package main; import "fmt"; import "./pkg/util/version"; func main() { fmt.Println(version.Full()) }' > print_version.go
|
||||
echo ::set-output name=VERSION::$(go run print_version.go)
|
||||
|
||||
- name: Print the version
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
package version
|
||||
|
||||
var version = "v0.1.0"
|
||||
var version = "v0.1.1"
|
||||
|
||||
func Full() string {
|
||||
return version
|
||||
|
Loading…
Reference in New Issue
Block a user