Received: from listserv.local (listserv [172.16.8.22]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTP id 978F0782C58; Mon, 16 Aug 2021 09:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1629105168; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references; bh=8NYX62P3p7fQYq+MteQQlkq1dvUnB9BZSizDQu7RGio=; b=HmjxCQbPuBgpAcev+QQuhiM/jsQMMaAAKgYICX6hX6o3Qx1Sj2guVE7h5bD0qWJAtRzkUf EUx3ASZvxkJVShVmuSF0q3YuKyTRW1uhAoETtRHmj/KdGlNI0pPjBqRgf6Ic2NkRqbK2Ac mfGlMUjXo+/eFS2+7Veknvjq67dijOI= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit To: Marvin Preuss From: Leo Cc: alpine-aports@lists.alpinelinux.org In-Reply-To: <20210816080726.658288-1-marvin@xsteadfastx.org> Subject: Re: [PATCH] testing/ali: new aport Date: Mon, 16 Aug 2021 09:12:48 -0000 Message-ID: <162910516859.6885.2440813769506068578.gitlab.24284.72119e092f17f18d790ebd3b3dbfbce142debc93@listserv.local> On Mon, 16 Aug 2021 10:07:26 +0200, Marvin Preuss wrote: > + -ldflags " > + -X \"main.version=$pkgver\" \ > + -X \"main.date=$(date --utc +%Y-%m-%dT%H:%M:%SZ)\" \ Need to use SOURCE_DATE_EPOCH to guarantee reproducibility ```shell $(date -u "+%Y-%m-%dT%TZ" ${SOURCE_DATE_EPOCH:+-d @$SOURCE_DATE_EPOCH}) ``` -- via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/24284#note_175448