diff options
Diffstat (limited to 'bin/gen_changelog_cleanup')
| -rwxr-xr-x | bin/gen_changelog_cleanup | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/gen_changelog_cleanup b/bin/gen_changelog_cleanup new file mode 100755 index 0000000..3d11deb --- /dev/null +++ b/bin/gen_changelog_cleanup @@ -0,0 +1,20 @@ +#!/bin/bash + +# This file is part of RTSAdmin Community Edition. +# Copyright (c) 2011 by RisingTide Systems LLC +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, version 3 (AGPLv3). +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +SRCPKG=$(cat debian/control | grep ^Source | awk '{print $2}') +rm -f debian/changelog +sed -i "s/__version__ = .*/__version__ = 'GIT_VERSION'/g" ${SRCPKG}/__init__.py |
