Skip to content

Commit

Permalink
Alias consts.Version
Browse files Browse the repository at this point in the history
  • Loading branch information
codebien committed Feb 11, 2025
1 parent 6d822da commit 084ff89
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/consts/consts.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Package consts houses some constants needed across k6
package consts

import "go.k6.io/k6/version"

// Version contains the current semantic version of k6.
const Version = "0.56.0"
//
// Deprecated: alias to support the legacy versioning API. Use the new version package,
// it will be removed as soon as the external services stop to depend on it.
const Version = version.SemVer
6 changes: 6 additions & 0 deletions version/version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Package version handles k6 versioning
package version

// SemVer contains the current version of k6
// represented using Semantic Versioning expression.
const SemVer = "0.56.0"

0 comments on commit 084ff89

Please sign in to comment.