From a0bc43e37e540b2ecedafd12948669cc0400b382 Mon Sep 17 00:00:00 2001 From: Andrew Joslin Date: Wed, 4 Jun 2014 15:20:32 -0600 Subject: [PATCH] chore(build): make old version in nightly changelog show correctly --- scripts/cdn/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cdn/publish.sh b/scripts/cdn/publish.sh index 6d6aeb3dbd..168c9f734e 100755 --- a/scripts/cdn/publish.sh +++ b/scripts/cdn/publish.sh @@ -28,7 +28,7 @@ function run { if [[ "$VERSION_NAME" == "nightly" ]]; then node_modules/.bin/gulp changelog --standalone \ --html=true \ - --subtitle="(changes since $OLD_VERSION)" \ + --subtitle="(changes since $(git describe --tags --abbrev=0))" \ --dest="$VERSION_DIR/CHANGELOG.html" \ --from="$(git tag | grep $OLD_VERSION)" fi