Inject version when building and report version to Gitea via log and header #43
Labels
No Label
kind
bug
kind
build
kind
dependencies
kind
docs
kind
enhancement
kind
feature
kind
help wanted
kind
proposal
kind
refactor
related
act
related
environment
related
exec
related
gitea
related
workflow
reviewed
duplicate
reviewed
invalid
reviewed
needs feedback
reviewed
wontfix
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/act_runner#43
Loading…
Reference in New Issue
No description provided.
Delete Branch "sillyguodong/act_runner:feature/issue_42"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. 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?
thanks :)
@ -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 header