GitHub user tuhaihe added a comment to the discussion: [Ideas] Improve Version Information for Source Builds
> Is there a bug for versioning scripts? Why it is always 1.0.0 for Cloudberry > Database. How about follow format below for debug/release? I guess there is no mechanism to detect the version information for the downloaded source tar files. It would be better if an engineer could help debug it. > > ``` > PostgreSQL 14.4 (Cloudberry Database 1.5.2+4859142 build dev) on > x86_64-pc-linux-gnu, compiled by gcc (GCC) 9.5.0, 64-bit compiled on Dec 12 > 2024 22:18:23 > or > PostgreSQL 14.4 (Cloudberry Database 1.5.2+4859142 build release) on > x86_64-pc-linux-gnu, compiled by gcc (GCC) 9.5.0, 64-bit compiled on Dec 12 > 2024 22:18:23 > ``` > > Where > [4859142](https://github.com/apache/cloudberry/commit/48591423d310e2ae189abd1f3d13bbc861d25e6a) > is the commit sha1 so that we could track down to commit point. Agree. If we build the Cloudberry by git clone the source, will return like this. GitHub link: https://github.com/apache/cloudberry/discussions/909#discussioncomment-12113311 ---- This is an automatically sent email for dev@cloudberry.apache.org. To unsubscribe, please send an email to: dev-unsubscr...@cloudberry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cloudberry.apache.org For additional commands, e-mail: dev-h...@cloudberry.apache.org