Inject version when building and report version to Gitea via log and header #43
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "sillyguodong/act_runner:feature/issue_42"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
close #42
Inject runner version when

make build
After building, executing command line:
./act_runner -v
or./act_runner --version
, the version of runner is printed.In

Actions
UI:Set request header in http client interceptor.
Can you add ldflag to goreleaser config too?
@ -12,6 +13,8 @@ import (
const version = "0.1.5"
What is this
version
used for?Apart from @techknowlogick's comment LGTM.
@ -12,6 +13,8 @@ import (
const version = "0.1.5"
From the output of executing
./act_runner
, it seems likeversion for act
. I am not sure thisversion
is useful, so I declare a new variableRunnerVersion
. If thisversion
is useless, i will use this to save the version ofact_runner
.@ -12,6 +13,8 @@ import (
const version = "0.1.5"
I'm pretty sure it's useless.
WIP: Inject version when building and report version to Gitea via log and headerto Inject version when building and report version to Gitea via log and headerReviewers