Skip to content

Commit 66e6ea7

Browse files
committed
one more variable to update
1 parent 678ef13 commit 66e6ea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async function main(args) {
170170
let ldflags = [
171171
`-X ${bi}.Version=${version}`,
172172
`-X ${bi}.BuiltAt=${builtAt}`,
173-
`-X ${bi}.Commit=${process.env.CI_BUILD_REF || ""}`,
173+
`-X ${bi}.Commit=${process.env.CI_COMMIT_SHA || ""}`,
174174
"-w",
175175
"-s",
176176
].join(" ");

0 commit comments

Comments
 (0)