update 418 B

123456789101112131415161718192021222324
  1. #!/bin/sh
  2. # script/update: Update application to run for its current checkout.
  3. cat script/misc/oteascii.txt
  4. set -e
  5. cd $GOPATH/src/gitote/gitote
  6. echo "==> Pulling Latest version of Gitote"
  7. git pull origin master
  8. echo "==> Starting PostgreSQL Database"
  9. sudo systemctl restart postgresql
  10. echo "==> Building…"
  11. make bindata
  12. make less
  13. go build
  14. echo "==> Restarting Gitote Service…"
  15. sudo systemctl restart gitote