Taskfile.yaml 559 B

12345678910111213141516171819202122232425
  1. version: '3'
  2. tasks:
  3. move-to-production:
  4. desc: Move the current branch to production
  5. cmds:
  6. - cmd: git tag -d production
  7. ignore_error: true
  8. silent: true
  9. - cmd: git push origin :production
  10. ignore_error: true
  11. silent: true
  12. - cmd: git tag production
  13. ignore_error: false
  14. silent: true
  15. - cmd: git push origin production
  16. ignore_error: false
  17. silent: true
  18. generate:
  19. desc: Generate SQL migrations
  20. cmds:
  21. - cmd: go generate ./database/...
  22. ignore_error: false
  23. silent: true