-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description of problem:
When installing RPMs built by ART, the version reported by `microshift version` does not match the version of the RPM installed.
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Download and install MicroShift RPMs from brew. For example the 4.12.0~ec.4 EC version: microshift-4.12.0~ec.4-202210181553.p0.g89b54d2.assembly.ec.4.el8. 2. Run `microshift version`.
Actual results:
MicroShift Version: 4.12.0-0.microshift-unknown Base OCP Version: 4.12.0-0.nightly-2022-09-25-071630
Expected results:
MicroShift Version: 4.12.0~ec.4 Base OCP Version: 4.12.0-0.nightly-2022-09-25-071630
Additional info:
We need to modify the .spec and Makefile such that when the .spec file has an explicit %{version} set (i.e. it's not a local build where that info is passed in from the make-rpm.sh script), that version is passed into the Makefile and overrides the Makefile default MICROSHIFT_VERSION.
- is related to
-
USHIFT-605 Fix version scheme of local builds
- Closed
- links to