1+ current_date: =$(shell date +% F)
2+
13install :
24 Rscript -e " install.packages(c('renv', 'pak', 'rspm'))"
35 Rscript -e " renv::restore()"
@@ -21,40 +23,36 @@ prod-flu:
2123prod : prod-covid prod-flu update_site netlify
2224
2325submit-covid :
24- current_date=$(date +%D ) ; \
2526 cd ../covid19-forecast-hub; \
2627 git pull delphi main; \
2728 git add model-output/CMU-TimeSeries/* ; \
28- git commit -am " CMU-Delphi submission $( date +%D ) " ; \
29+ git commit -am " CMU-Delphi submission $( current_date ) " ; \
2930 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
3132
3233submit-flu :
33- current_date=$(date +%D ) ; \
3434 cd ../FluSight-forecast-hub; \
3535 git pull delphi main; \
3636 git add model-output/CMU-TimeSeries/* ; \
37- git commit -am " CMU-Delphi submission $( date +%D ) " ; \
37+ git commit -am " CMU-Delphi submission $( current_date ) " ; \
3838 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
4040
4141submit-covid-dry :
42- current_date=$(date +%D ) ; \
4342 cd ../covid19-forecast-hub; \
4443 git pull delphi main; \
4544 git add model-output/CMU-TimeSeries/* ; \
46- git commit -am " CMU-Delphi submission $( date +%D ) " ; \
45+ git commit -am " CMU-Delphi submission $( current_date ) " ; \
4746 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
4948
5049submit-flu-dry :
51- current_date=$(date +%D ) ; \
5250 cd ../FluSight-forecast-hub; \
5351 git pull delphi main; \
5452 git add model-output/CMU-TimeSeries/* ; \
55- git commit -am " CMU-Delphi submission $( date +%D ) " ; \
53+ git commit -am " CMU-Delphi submission $( current_date ) " ; \
5654 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
5856
5957submit : submit-covid submit-flu
6058
0 commit comments