File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -78,13 +78,11 @@ jobs:
7878 # echo OBSERVABILITY_VERSION=$(./ocm get componentversions --latest github.com/platform-mesh/observability --repo ghcr.io/platform-mesh -o json | jq -r '.items[0].component.version') >> $GITHUB_ENV
7979 echo VIRTUAL_WORKSPACES_VERSION=$(./ocm get componentversions --latest github.com/platform-mesh/virtual-workspaces --repo ghcr.io/platform-mesh -o json | jq -r '.items[0].component.version') >> $GITHUB_ENV
8080
81- # PM_VERSION=$(./ocm get componentversions --latest github.com/platform-mesh/platform-mesh --repo ghcr.io/platform-mesh -o json | jq -r '.items[0].component.version')
82- # PM_VERSION=${PM_VERSION:-0.0.0}
83-
84- # IFS='.' read -r major minor patch <<< "PM_VERSION"
85- # patch=$((patch + 1))
86- # echo VERSION="$major.$minor.$patch" >> $GITHUB_ENV
87- echo VERSION="0.0.1" >> $GITHUB_ENV
81+ PM_VERSION=$(./ocm get componentversions --latest github.com/platform-mesh/platform-mesh --repo ghcr.io/platform-mesh -o json | jq -r '.items[0].component.version')
82+ PM_VERSION=${PM_VERSION:-0.0.0}
83+ IFS='.' read -r major minor patch <<< "PM_VERSION"
84+ patch=$((patch + 1))
85+ echo VERSION="$major.$minor.$patch" >> $GITHUB_ENV
8886
8987 - name : create OCM ComponentArchive
9088 run : |
You can’t perform that action at this time.
0 commit comments