mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-02 05:58:41 +00:00
Delete old fallbacks and compatible stuff (#791)
Drop ... * ... DRONE_ and deprecated pipeline environment vars * ... deprecated sqlite3 file path
This commit is contained in:
@@ -187,7 +187,8 @@ func (m *Metadata) Environ() map[string]string {
|
||||
"CI_SYSTEM_PLATFORM": m.Sys.Platform, // will be set by pipeline platform option or by agent
|
||||
"CI_SYSTEM_VERSION": version.Version,
|
||||
|
||||
"CI_SYSTEM_ARCH": m.Sys.Platform, // TODO: remove after next version
|
||||
// DEPRECATED
|
||||
"CI_SYSTEM_ARCH": m.Sys.Platform, // TODO: remove after v1.0.x version
|
||||
}
|
||||
if m.Curr.Event == EventTag {
|
||||
params["CI_COMMIT_TAG"] = strings.TrimPrefix(m.Curr.Commit.Ref, "refs/tags/")
|
||||
|
Reference in New Issue
Block a user