diff options
Diffstat (limited to 'utils/build-releasenote')
-rwxr-xr-x | utils/build-releasenote | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/build-releasenote b/utils/build-releasenote index f7561da..b25a87c 100755 --- a/utils/build-releasenote +++ b/utils/build-releasenote @@ -1,10 +1,10 @@ #!/bin/bash -VERSION=`head -n1 debian/changelog | sed 's/.*(\([^)]*\)).*/\1/'` +VERSION=`head -n1 packaging/debian/changelog | sed 's/.*(\([^)]*\)).*/\1/'` { sed "s/__VERSION__/$VERSION/g" < utils/releasenote.header - head -n$(( $(grep -n '^ --' debian/changelog | head -n1 | cut -f1 -d:) - 2 )) debian/changelog | tail -n+3 + head -n$(( $(grep -n '^ --' packaging/debian/changelog | head -n1 | cut -f1 -d:) - 2 )) packaging/debian/changelog | tail -n+3 sed "s/__VERSION__/$VERSION/g" < utils/releasenote.footer } > "website/news/release-$VERSION.mdwn" |