Skip to content

Commit

Permalink
compose: Print version number
Browse files Browse the repository at this point in the history
Users doing builds that are using newer features
want to be sure they have the right version.

Closes: coreos#1556
  • Loading branch information
LorbusChris committed Oct 25, 2018
1 parent fe5adaf commit 67b0f63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/rpmostree-compose-builtin-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,9 @@ impl_install_tree (RpmOstreeTreeComposeContext *self,
GCancellable *cancellable,
GError **error)
{
/* Print version number */
g_print ("RPM-OSTree Version: %s\n", PACKAGE_VERSION);

if (getuid () != 0)
{
if (!opt_unified_core)
Expand Down

0 comments on commit 67b0f63

Please sign in to comment.