File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,13 @@ function Cleanup {
50
50
}
51
51
trap Cleanup EXIT
52
52
53
+ SHORT_VERSION=$( echo $VERSION | sed -e ' s/\([0-9]*\.[0-9]*\)\..*/\1/' )
53
54
echo " Using release VERSION=$VERSION "
54
55
55
- release_branch=" release-v$VERSION "
56
-
56
+ release_branch=" release-$SHORT_VERSION "
57
57
cd " $REPO_ROOT "
58
58
git fetch origin
59
- git checkout -b $release_branch $( git show --oneline origin/main | cut -f1 -d ' ' )
59
+ git checkout -b $release_branch $( git show --oneline origin/main | head -1 | cut -f1 -d ' ' )
60
60
make generate deploy-manifests REGISTRY=" intel" IMG_TAG=$VERSION
61
61
sed -i -e " s;\(.*version: \).*;\1$VERSION ;g" -e ' s;\(.*appVersion: \).*;\1"' $VERSION ' ";g' ./charts/Chart.yaml
62
62
sed -i " s;\(.*tag: \).*;\1$VERSION ;g" ./charts/values.yaml
You can’t perform that action at this time.
0 commit comments