From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Jason@zx2c4.com Received: from frisell.zx2c4.com (frisell.zx2c4.com [192.95.5.64]) by krantz.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 747d6931 for ; Fri, 18 Nov 2016 04:57:49 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTP id 53073f08 for ; Fri, 18 Nov 2016 04:57:49 +0000 (UTC) Received: by frisell.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 4a30212c (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Fri, 18 Nov 2016 04:57:48 +0000 (UTC) Received: by mail-wm0-f43.google.com with SMTP id a197so14291939wmd.0 for ; Thu, 17 Nov 2016 21:00:50 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <87shqr6sw1.fsf@alice.fifthhorseman.net> From: "Jason A. Donenfeld" Date: Fri, 18 Nov 2016 06:00:48 +0100 Message-ID: To: Daniel Kahn Gillmor Content-Type: text/plain; charset=UTF-8 Cc: WireGuard mailing list Subject: Re: [WireGuard] RFE: A notion of VERSION (was: Debugging AllowedIps) List-Id: Development discussion of WireGuard List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , https://git.zx2c4.com/WireGuard/commit/?id=258d0b33a5087558447b319273c37c89445d3ae0 There we go. My release script looks like this: zx2c4@thinkpad ~/Projects/WireGuard $ cat maint/release.sh #!/bin/sh set -ex cd "$(dirname "$(readlink -f "$0")")/.." date="$(date +%Y%m%d)" tag="experimental-0.0.$date" git reset --hard sed -i "s/\".*\"/\"$tag\"/" src/version.h git update-index --no-assume-unchanged src/version.h git add src/version.h git commit -m "version: bump snapshot" git tag "$tag" --sign -m "Experimental snapshot $date"