From 499b6981a4487e4491a0d80fd3101a3bd6b46de7 Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Wed, 25 Oct 2017 16:16:33 +0200 Subject: [PATCH] Fix preversion.sh to stage History.md This fixes an issue that was introduced in [1], where Changelog.txt was renmaed to History.md, without updating this script to stage the changed file with then new filename. [1] https://github.com/sinonjs/sinon/commit/e9f40a23253f4814d370f3c168acd1c8712470b6 --- scripts/preversion.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/preversion.sh b/scripts/preversion.sh index 99a81e29f..23efe14e9 100755 --- a/scripts/preversion.sh +++ b/scripts/preversion.sh @@ -1,7 +1,7 @@ #!/bin/bash echo 'Updating History.md' git changelog --no-merges -git add Changelog.txt +git add History.md echo 'Updating AUTHORS' git authors --list > AUTHORS