mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
So that it can be used as a package. Not useful right away, but a precondition to merge the ACT repository into the runner repository. Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/747 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
11 lines
256 B
Go
11 lines
256 B
Go
// Copyright 2023 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package ver
|
|
|
|
// go build -ldflags "-X code.forgejo.org/forgejo/runner/internal/pkg/ver.version=1.2.3"
|
|
var version = "dev"
|
|
|
|
func Version() string {
|
|
return version
|
|
}
|