1
+ current_date: =$(shell date +% F)
2
+
1
3
install :
2
4
Rscript -e " install.packages(c('renv', 'pak', 'rspm'))"
3
5
Rscript -e " renv::restore()"
@@ -21,40 +23,36 @@ prod-flu:
21
23
prod : prod-covid prod-flu update_site netlify
22
24
23
25
submit-covid :
24
- current_date=$(date +%D ) ; \
25
26
cd ../covid19-forecast-hub; \
26
27
git pull delphi main; \
27
28
git add model-output/CMU-TimeSeries/* ; \
28
- git commit -am " CMU-Delphi submission $( date +%D ) " ; \
29
+ git commit -am " CMU-Delphi submission $( current_date ) " ; \
29
30
git push delphi main; \
30
- gh pr create --title " CMU-TimeSeries $( date +%D ) " --repo cdcgov/covid19-forecast-hub
31
+ gh pr create --title " CMU-TimeSeries $( current_date ) " --repo cdcgov/covid19-forecast-hub
31
32
32
33
submit-flu :
33
- current_date=$(date +%D ) ; \
34
34
cd ../FluSight-forecast-hub; \
35
35
git pull delphi main; \
36
36
git add model-output/CMU-TimeSeries/* ; \
37
- git commit -am " CMU-Delphi submission $( date +%D ) " ; \
37
+ git commit -am " CMU-Delphi submission $( current_date ) " ; \
38
38
git push delphi; \
39
- gh pr create --title " CMU-TimeSeries $( date +%D ) " --repo cdcepi/FluSight-forecast-hub
39
+ gh pr create --title " CMU-TimeSeries $( current_date ) " --repo cdcepi/FluSight-forecast-hub
40
40
41
41
submit-covid-dry :
42
- current_date=$(date +%D ) ; \
43
42
cd ../covid19-forecast-hub; \
44
43
git pull delphi main; \
45
44
git add model-output/CMU-TimeSeries/* ; \
46
- git commit -am " CMU-Delphi submission $( date +%D ) " ; \
45
+ git commit -am " CMU-Delphi submission $( current_date ) " ; \
47
46
git push delphi main; \
48
- gh pr create --title " CMU-TimeSeries $( date +%D ) " --repo cdcgov/covid19-forecast-hub --dry-run
47
+ gh pr create --title " CMU-TimeSeries $( current_date ) " --repo cdcgov/covid19-forecast-hub --dry-run
49
48
50
49
submit-flu-dry :
51
- current_date=$(date +%D ) ; \
52
50
cd ../FluSight-forecast-hub; \
53
51
git pull delphi main; \
54
52
git add model-output/CMU-TimeSeries/* ; \
55
- git commit -am " CMU-Delphi submission $( date +%D ) " ; \
53
+ git commit -am " CMU-Delphi submission $( current_date ) " ; \
56
54
git push delphi; \
57
- gh pr create --title " CMU-TimeSeries $( date +%D ) " --repo cdcepi/FluSight-forecast-hub --dry-run
55
+ gh pr create --title " CMU-TimeSeries $( current_date ) " --repo cdcepi/FluSight-forecast-hub --dry-run
58
56
59
57
submit : submit-covid submit-flu
60
58
0 commit comments