From adb1a4cfe99f09997e167b27e5e1fd45fd9ea549 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Slavi=CC=81k?= Date: Thu, 26 Sep 2019 18:39:19 +0200 Subject: [PATCH] Increase version to 0.20.1-1 (patch release) Use .001 for nuget, because it doesn't allow - for patch releases. --- Gettext.Tools.nuspec | 2 +- Makefile | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gettext.Tools.nuspec b/Gettext.Tools.nuspec index 273acdf..03f4598 100644 --- a/Gettext.Tools.nuspec +++ b/Gettext.Tools.nuspec @@ -2,7 +2,7 @@ Gettext.Tools - 0.20.1 + 0.20.1.001 GNU gettext tools for Windows Vaclav Slavik GPL-3.0-or-later diff --git a/Makefile b/Makefile index 8566441..354ced8 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,9 @@ GETTEXT_VERSION = 0.20.1 LIBICONV_VERSION = 1.16 # version of the gettext-tools-windows package; usually same as GETTEXT_VERSION -PACKAGE_VERSION = $(GETTEXT_VERSION) +# use "-n" suffix; for NuGet, use ".00n" suffix instead, e.g. 0.20.1-1 and 0.20.1.001 +PACKAGE_VERSION = $(GETTEXT_VERSION)-1 +NUGET_VERSION = $(GETTEXT_VERSION).001 _space := $(subst ,, ) GETTEXT_VERSION_SHORT := $(subst $(_space),.,$(wordlist 1,2,$(subst ., ,$(GETTEXT_VERSION)))) @@ -45,7 +47,7 @@ USR_LOCAL = $(STAGEDIR)/usr/local DISTDIR = $(BUILDDIR)/dist ARCHIVE_FILE = $(BUILDDIR)/gettext-tools-windows-$(PACKAGE_VERSION).zip -NUGET_FILE = $(BUILDDIR)/Gettext.Tools.$(PACKAGE_VERSION).nupkg +NUGET_FILE = $(BUILDDIR)/Gettext.Tools.$(NUGET_VERSION).nupkg LIBICONV_FILE := libiconv-$(LIBICONV_VERSION).tar.gz LIBICONV_URL := http://ftp.gnu.org/pub/gnu/libiconv/$(LIBICONV_FILE)