diff options
author | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-02-09 01:48:09 +0000 |
---|---|---|
committer | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-02-09 01:48:09 +0000 |
commit | b13b5edba1f8e1834b15e5b7244869afe814da93 (patch) | |
tree | 6a3572b203cbb61d1b5df161186d66c9d7964860 /Rakefile | |
parent | 8c02ffde9c07b817597fd17f67047ed310cbdfcc (diff) | |
download | puppet-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-- | Rakefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |