diff --git a/Makefile b/Makefile index edf23b6a..69b41fe8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PAC_VERSION := $(shell sed -n '/[ ]*github.com\/openshift-pipelines\/pipelines-as-code v[0-9]*\.[0-9]*\.[0-9]*/ { s/.* v//;p ;}' go.mod) TKN_VERSION := $(shell sed -n '/[ ]*github.com\/tektoncd\/cli v[0-9]*\.[0-9]*\.[0-9]*/ { s/.* v//;p ;}' go.mod) -RESULTS_VERSION := $(shell sed -n '/[ ]*github.com\/tektoncd\/results v[0-9]*\.[0-9]*\.[0-9]*/ { s/.* v//;p ;}' go.mod) +RESULTS_VERSION := $(shell sed -n '/[ ]*github.com\/tektoncd\/results v[0-9]*\.[0-9]*\.[0-9]*/ { s/^.*v\([0-9.]*\).*/\1/;p ;}' go.mod) MAG_VERSION := $(shell sed -n '/[ ]*github.com\/openshift-pipelines\/manual-approval-gate v[0-9]*\.[0-9]*\.[0-9]*/ { s/.* v//;p ;}' go.mod) GO := go diff --git a/pkg/version.json b/pkg/version.json index 44b5b7e5..b7dbef16 100644 --- a/pkg/version.json +++ b/pkg/version.json @@ -1 +1 @@ -{"pac": "0.28.0", "tkn": "0.38.1", "results": "0.12.1-0.20240920090600-058590c582ea", "manualapprovalgate": "0.3.0", "opc": "devel"} +{"pac": "0.28.0", "tkn": "0.38.1", "results": "0.12.1", "manualapprovalgate": "0.3.0", "opc": "devel"}