Add git commit to build #1

Merged
rudi merged 1 commits from master into deploy 2021-07-22 02:17:30 +00:00
Showing only changes of commit b0c18f6076 - Show all commits

View File

@ -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: