Просмотр исходного кода

checkout latest before moving to production (#3473)

ianedwards 2 лет назад
Родитель
Сommit
06a8f018b5
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      Taskfile.yaml

+ 6 - 0
Taskfile.yaml

@@ -4,6 +4,12 @@ tasks:
   move-to-production:
     desc: Move the current branch to production
     cmds:
+    - cmd: git fetch origin --tags 
+      silent: true
+    - cmd: git checkout master
+      silent: true
+    - cmd: git pull origin master
+      silent: true
     - cmd: git tag -d production
       ignore_error: false
       silent: true