Explorar o código

checkout latest before moving to production (#3473)

ianedwards %!s(int64=2) %!d(string=hai) anos
pai
achega
06a8f018b5
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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