-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcommit
More file actions
executable file
·44 lines (31 loc) · 805 Bytes
/
Copy pathcommit
File metadata and controls
executable file
·44 lines (31 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
set -o errexit
message="$1"
if [[ "$message" == "" ]]
then
echo "No commit message was provided."
exit 1
fi
cd AlgorithmScripts/Helper
./build_algorithm_scripts
cd ../..
cd UserScripts/docs/.templates
./build_docs
cd ../../..
python scripts/UpdateVersion.py travis.yml.template VERSION True .travis.yml
for f in UserScripts/docs/*.md
do
python scripts/UpdateVersion.py $f VERSION False $f
done
python scripts/UpdateVersion.py WebApp/server_template.R VERSION False WebApp/server.R
# Do one of these two but both are not needed.
./scripts/build_image shinylearner
#./BuildTests/all
git add .travis.yml
git add --all .
git commit -m "$message"
git push origin master
docker login
docker push srp33/shinylearner:version$(cat VERSION)
cd ../ShinyLearner_gpu
./commit "$message"