Closed sabaini closed 5 months ago
@sabaini although this change sets the version string correctly in the built artifact name. The output of sudo microceph --version
does not seem to be correct.
utkarsh@workbook:~/Downloads/snaps$ sudo snap install ./microceph_18.2.0+snap6e88a3f350_amd64.snap --dangerous
microceph 18.2.0+snap6e88a3f350 installed
utkarsh@workbook:~/Downloads/snaps$ sudo microceph --version
0.1
I believe this is not desired ?
@sabaini although this change sets the version string correctly in the built artifact name. The output of
sudo microceph --version
does not seem to be correct.utkarsh@workbook:~/Downloads/snaps$ sudo snap install ./microceph_18.2.0+snap6e88a3f350_amd64.snap --dangerous microceph 18.2.0+snap6e88a3f350 installed utkarsh@workbook:~/Downloads/snaps$ sudo microceph --version 0.1
I believe this is not desired ?
Thanks @UtkarshBhatthere , good catch. I've now pushed an update that also sets the version at build time so that microceph --version
provides accurate output
microceph --version
ceph-version: 18.2.0-0ubuntu3~cloud0; microceph-git: 43ecfe674b-dirty
Awesome! Thanks for PR @sabaini
Build version string from Ceph package version, suffixed by snap git hash