From 4778802f6a4b009199ea82ab84849114ec7143f5 Mon Sep 17 00:00:00 2001 From: Marc Sibson <125162+sibson@users.noreply.github.com> Date: Fri, 22 Dec 2023 08:23:35 -0500 Subject: [PATCH] avoid creating backup file --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index e24aa0c..18c033a 100644 --- a/makefile +++ b/makefile @@ -8,7 +8,7 @@ version: version-%: OLDVERSION:=$(shell python setup.py --version) version-%: NEWVERSION=$(subst -,.,$*) version-%: - sed -i -e s/$(OLDVERSION)/$(NEWVERSION)/ $(VERSION_FILE) + sed -i '' -e s/$(OLDVERSION)/$(NEWVERSION)/ $(VERSION_FILE) git ci setup.py -m"bump version to $*" lint: