mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
Remove old build_number.h and infrastructure now that it's abandoned.
This commit is contained in:
parent
768f32821a
commit
e125e79d00
@ -1 +0,0 @@
|
||||
const int build_number = 1;
|
@ -373,7 +373,6 @@ HEADERS += \
|
||||
SleepLib/journal.h \
|
||||
SleepLib/progressdialog.h \
|
||||
SleepLib/loader_plugins/cms50f37_loader.h \
|
||||
build_number.h \
|
||||
profileselector.h \
|
||||
SleepLib/appsettings.h \
|
||||
SleepLib/loader_plugins/edfparser.h \
|
||||
|
@ -1,31 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
MY_PATH="`dirname \"$0\"`"
|
||||
if [ -f "$MY_PATH/build_number" ]
|
||||
then
|
||||
number=`cat $MY_PATH/build_number`
|
||||
else
|
||||
number=0
|
||||
fi
|
||||
|
||||
if [ ! -f $MY_PATH/../build_number.h ]
|
||||
then
|
||||
# This is needed to build, so make sure it's available
|
||||
echo "const int build_number = ""$number;" | tee $MY_PATH/../build_number.h
|
||||
fi
|
||||
|
||||
if [ ! -f "$MY_PATH/ReleaseManager" ]
|
||||
then
|
||||
# Script only needs running by Release Managers
|
||||
exit;
|
||||
fi
|
||||
|
||||
if [ "$1" == "release" ]
|
||||
then
|
||||
echo "Updating build number"
|
||||
let number++
|
||||
echo "$number" > $MY_PATH/build_number
|
||||
echo "const int build_number = ""$number;" | tee $MY_PATH/../build_number.h
|
||||
else
|
||||
echo "Skipping build number update"
|
||||
fi
|
Loading…
Reference in New Issue
Block a user