Fix appCommit

This commit is contained in:
Toby 2020-04-22 21:57:23 -07:00
parent 992abe3b56
commit c441afea35

View file

@ -45,7 +45,7 @@ jobs:
name: hysteria
arch: amd64
dest: ./dist/
ldflags: -w -s -X main.appVersion=${{ env.GIT_TAG_NAME }} -X main.appCommit=${{ env.GITHUB_SHA }} -X main.appDate=${{ env.TIME }}
ldflags: -w -s -X main.appVersion=${{ env.GIT_TAG_NAME }} -X main.appCommit=${{ github.sha }} -X main.appDate=${{ env.TIME }}
os: windows,linux,darwin
package: ./cmd