Forráskód Böngészése

checkout latest before moving to production (#3473)

ianedwards 2 éve
szülő
commit
06a8f018b5
1 módosított fájl, 6 hozzáadás és 0 törlés
  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