Skip to content
Snippets Groups Projects

Support 2649

Merged alexandr.kravchenko requested to merge support-2649 into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -92,8 +92,9 @@ extract_version_number
@@ -92,8 +92,9 @@ extract_version_number
### cause information from this changelog (version) is used to write package metadata. And we had messed up for a long time because of desyncing.
### cause information from this changelog (version) is used to write package metadata. And we had messed up for a long time because of desyncing.
### This is a solution. We modify the changelog only if there are updates and not on build servers. And of course if it's not cmake-based build project.
### This is a solution. We modify the changelog only if there are updates and not on build servers. And of course if it's not cmake-based build project.
### let's keep those comments here for a while
### let's keep those comments here for a while
NOTONBUILDSERVER=0
if [ $( gitlab-runner -v 2> /dev/null ; echo $? ) == 0 ]; then
gitlab-runner -v 2&>>/dev/null || NOTONBUILDSERVER=$?
 
if [ $NOTONBUILDSERVER == 0 ]; then
echo "[WRN] on build platform. Version won't be changed" # okay, so this echo wont be outputted as the condition is not true
echo "[WRN] on build platform. Version won't be changed" # okay, so this echo wont be outputted as the condition is not true
elif [ ! -e debian/changelog ]; then ### I guess this what's supposed to be added in order to solve the issue with the changelog?+
elif [ ! -e debian/changelog ]; then ### I guess this what's supposed to be added in order to solve the issue with the changelog?+
Loading