-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
Create a hack script that lives in our Github repo. When ran it should update the WMCO and OCP versions in all required places (Makefile, base CSV, bundle, and Dockerfiles?). This would replace the manual prep work (e.g. Prep for 5.0.0 release) and prevent us from forgetting to change the version somewhere.
Engineering Details
- This should work for both minor and major WMCO version bumps.
- Decide whether the script should open the prep work PR automatically
- Uses the version in the makefile as the correct WMCO version, with a special flag for handling files that have CVP version issues, and add a function in common.sh that calculates the OCP version from the WMCO version. The script will automatically create a branch and commit, breaking out the functionality in the submodules script into common.sh.
Acceptance Criteria
- Running the new script replaces the WMCO and OCP versions in all required places
- Works for all supported release-4.x branches