We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3b9440c + e7e9fbb commit 54410feCopy full SHA for 54410fe
service/make_deb
@@ -109,7 +109,7 @@ do
109
pkg_name="${REPO_NAME}"
110
111
if [ -f "${GIT_ROOT}/VERSION" ]; then
112
- version=`cat ${GIT_ROOT}/VERSION | tr -d ' ' | grep 'notification_version' | head -1 | sed -e 's/\(.*\)version=\(.*\)/\2/g'`
+ version=`cat ${GIT_ROOT}/VERSION | tr -d ' ' | grep "${service_name}_version" | head -1 | sed -e 's/\(.*\)version=\(.*\)/\2/g'`
113
fledge_version=`cat ${GIT_ROOT}/VERSION | tr -d ' ' | grep 'fledge_version' | head -1 | sed -e 's/\(.*\)version\(.*\)/\2/g'`
114
else
115
echo Unable to determine version of package to create
0 commit comments