https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/1555 From 5fb669626cf2f5d008bb24c98c3b29294e282045 Mon Sep 17 00:00:00 2001 From: Corey Berla Date: Sat, 20 Jul 2024 13:22:28 -0700 Subject: [PATCH] build: Only set build-date for nightly builds Otherwise we are changing a comment that makes the builds not reproducible. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/3506 --- data/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/meson.build b/data/meson.build index 27438b5fe1..53e7baa58c 100644 --- a/data/meson.build +++ b/data/meson.build @@ -44,7 +44,8 @@ desktop_autorun_software = i18n.merge_file( # get current date, used as build date for snapshots between releases today = 'unknown' date = find_program('date', required: false) -if date.found() +# Only set dates for nightly builds to make release builds reproducible +if date.found() and profile == 'Devel' r = run_command(date, '-I') if r.returncode() == 0 today = r.stdout().strip() -- GitLab