Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
[hotfix 🔥] Fixed Makefile overwriting
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Roelof Roos committed Sep 29, 2018
1 parent 491d373 commit 2fb4faf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gumbo-millennium/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2fb4faf

Please sign in to comment.