grim/convey

Add the convey version to the environment
redux
2021-10-11, Gary Kramlich
82d28cf8e74d
Parents ee239409c3de
Children a13a27a3ff4a
Add the convey version to the environment
--- a/convey.yml Mon Oct 11 07:07:06 2021 -0500
+++ b/convey.yml Mon Oct 11 07:21:26 2021 -0500
@@ -1,6 +1,5 @@
---
environment:
- - CONVEY_VERSION=0.14.0-dev
- GO_IMAGE=docker.io/golang:1.17-bullseye
tasks:
# tasks for the default plan
--- a/environment/default.go Mon Oct 11 07:07:06 2021 -0500
+++ b/environment/default.go Mon Oct 11 07:21:26 2021 -0500
@@ -25,6 +25,7 @@
"bitbucket.org/rw_grim/govcs"
"bitbucket.org/rw_grim/govcs/hg"
+ "keep.imfreedom.org/grim/convey/consts"
"keep.imfreedom.org/grim/convey/normalize"
)
@@ -96,6 +97,7 @@
}()
e["RUN_TIME"] = time.Now().UTC().Format("2006-01-02T15:04:05-0700")
+ e["CONVEY_VERSION"] = consts.Version
err := e.loadVCS(wd)
if err != nil {