Commit e6cb9172 authored by Dominik Charousset's avatar Dominik Charousset

Fix version name in obs-commit-version.sh

parent 906a3fb2
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
# http://opensource.org/licenses/BSD-3-Clause and # http://opensource.org/licenses/BSD-3-Clause and
# http://www.boost.org/LICENSE_1_0.txt. # http://www.boost.org/LICENSE_1_0.txt.
set -v
set -o nounset set -o nounset
set -o errexit set -o errexit
...@@ -73,7 +72,7 @@ versionAsStr="$versionMajor.$versionMinor.$versionPatch" ...@@ -73,7 +72,7 @@ versionAsStr="$versionMajor.$versionMinor.$versionPatch"
# 2. # 2.
version=$versionAsStr version=$versionAsStr
if [ "$operatingMode" = "--nightly" ] ; then if [ "$operatingMode" = "--nightly" ] ; then
version="${versionAsStr}-$(date +%Y%m%d)" version="${versionAsStr}_$(date +%Y%m%d)"
fi fi
# 3, 4 # 3, 4
......
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