Commit 00a48c7f authored by Tom Powell's avatar Tom Powell

Generate BUILD_NUMBER at runtime

parent 22a40615
Pipeline #58315146 passed with stages
in 52 minutes and 41 seconds
......@@ -18,6 +18,7 @@ build:
# TYPE
script:
- |
export BUILD_NUMBER=$( (date +%s%N ; echo $CI_PIPELINE_ID; hostname) | openssl sha1 | sed -e 's/.*=//g; s/ //g' | cut -c1-10 )
cd /lineage/${VERSION}
rm -rf .repo/local_manifests/*
if [ -f /lineage/setup.sh ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment