image: go1.2
env:
  - GOROOT=/usr/local/go
  - GOPATH=$PWD/project
script:
  - make build
deploy:
  ssh:
    target: geoip@188.226.235.163:/home/geoip/releases/
    artifacts:
      - geoip-lookup-${DRONE_COMMIT:0:6}.tar.gz
notify:
  email:
    recipients:
      - igor.ajdisek@gmail.com

image: go1.2
env:
  - GOROOT=/usr/local/go
  - GOPATH=$PWD/project
script:
  - make build
deploy:
  ssh:
    target: geoip@188.226.235.163:/home/geoip/releases/
    artifacts:
      - geoip-lookup-${DRONE_COMMIT:0:7}.tar.gz
notify:
  email:
    recipients:
      - igor.ajdisek@gmail.com

Make SHA equal length as in: git rev-parse --short
Make SHA equal length as in: git rev-parse --short
