Browse Source

Merge pull request 'Add git commit to build' (#1) from master into deploy

Reviewed-on: #1
deploy
Gregory Rudolph 4 years ago
parent
commit
368e7030f5
  1. 2
      .drone.yml

2
.drone.yml

@ -8,7 +8,7 @@ steps:
commands: commands:
- go get github.com/bwmarrin/discordgo - go get github.com/bwmarrin/discordgo
- go vet -v - go vet -v
- go build - go build -ldflags "-X main.gitCommit=$(git rev-parse --short HEAD)"
- name: Run - name: Run
image: golang image: golang
environment: environment:

Loading…
Cancel
Save