From 2fb4fafd3cd45d8ef0a0185be253c5494b4529c7 Mon Sep 17 00:00:00 2001 From: Roelof Roos Date: Sat, 29 Sep 2018 21:39:13 +0200 Subject: [PATCH] [hotfix :fire:] Fixed Makefile overwriting Makefile had a -i marker on the sed call, causing it to overwrite /plugin.php, instead of outputting and writing the contents with updated version to /temp/plugin.php --- gumbo-millennium/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gumbo-millennium/Makefile b/gumbo-millennium/Makefile index 0f1ee34..3483c34 100644 --- a/gumbo-millennium/Makefile +++ b/gumbo-millennium/Makefile @@ -37,7 +37,7 @@ gumbo-millennium.zip: README.md # Update version and write to temporary plugin file - sed -i -r \ + sed -r \ "s/^( \* Version:\s+).+$$/\1$(shell git log -n1 --pretty='%h')/" \ plugin.php > temp/plugin.php