summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2006-02-09 01:48:09 +0000
committerlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2006-02-09 01:48:09 +0000
commitb13b5edba1f8e1834b15e5b7244869afe814da93 (patch)
tree6a3572b203cbb61d1b5df161186d66c9d7964860 /Rakefile
parent8c02ffde9c07b817597fd17f67047ed310cbdfcc (diff)
downloadpuppet-b13b5edba1f8e1834b15e5b7244869afe814da93.tar.gz
puppet-b13b5edba1f8e1834b15e5b7244869afe814da93.tar.xz
puppet-b13b5edba1f8e1834b15e5b7244869afe814da93.zip
Set the Release tag in the spec file to 1 when the version is changed
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@894 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 268e4d14d..865359146 100644
--- a/Rakefile
+++ b/Rakefile
@@ -333,6 +333,8 @@ task :update_version => [:prerelease] do
rakein.each do |line|
if line =~ /^Version:\s*/
rakeout.puts "Version: #{PKG_VERSION}"
+ elsif line =~ /^Release:\s*/
+ rakeout.puts "Release: 1%{?dist}"
else
rakeout.puts line
end