From 9530d3daed4f0dc2bb4d25515c68649cbecf1f24 Mon Sep 17 00:00:00 2001
From: nickb <nickb@ssec.wisc.edu>
Date: Wed, 10 Feb 2021 20:44:32 +0000
Subject: [PATCH] write our version string to .VERSION.txt in the root package
 dir

---
 buildbucket/package.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/buildbucket/package.sh b/buildbucket/package.sh
index 70b3fc5..f8ac99e 100755
--- a/buildbucket/package.sh
+++ b/buildbucket/package.sh
@@ -80,6 +80,8 @@ cp $GGLM_DIR/libexec/* ./libexec/
 tar -xz -C ./libexec/python_runtime -f ../${conda_tb}
 # write a conda environment.yml to the python_runtime/ folder so that we can more easily audit what's included in our runtime between builds
 conda env export --file ./libexec/python_runtime/environment.yml
+# write our version string to a hidden VERSION text file
+echo "$version" > ./.VERSION.txt
 # Go back to original work directory
 cd ..
 
-- 
GitLab