summaryrefslogtreecommitdiffstats
path: root/integration/src/release_scripts/generateCommit.sh
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2021-12-03 18:41:39 +0000
committerliamfallon <liam.fallon@est.tech>2021-12-03 19:20:32 +0000
commita14dffcc6b97a6b8a11fceb2f781665346dcd2eb (patch)
tree85197f0f6caa46fec915a1bce9688598f8b406ac /integration/src/release_scripts/generateCommit.sh
parenta771e2dc9e341122b5e7270441d13154e0d583bd (diff)
Add script to gather data on release process
This script gathers the latest tag version, the master snapshot version, the number of changed files since the last release, and the docker image names from each of the Policy Framework repos and stores that data in a CSV file. That CSV file is used by other scripts to do release process steps and to generate commits for the release process. Issue-ID: POLICY-3835 Change-Id: I2a282286c673bd690b6467cc5617f554f0c6de75 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'integration/src/release_scripts/generateCommit.sh')
-rwxr-xr-xintegration/src/release_scripts/generateCommit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/integration/src/release_scripts/generateCommit.sh b/integration/src/release_scripts/generateCommit.sh
index 997a368d..32775927 100755
--- a/integration/src/release_scripts/generateCommit.sh
+++ b/integration/src/release_scripts/generateCommit.sh
@@ -1,4 +1,4 @@
-SCRIPT_NAME=`basename $0`
+#!/bin/bash
#
# ============LICENSE_START================================================
@@ -20,6 +20,7 @@ SCRIPT_NAME=`basename $0`
# ============LICENSE_END==================================================
#
+SCRIPT_NAME=`basename $0`
repo_location="./"
usage()