Rakefile in ruby-pwsh-0.4.0 vs Rakefile in ruby-pwsh-0.4.1

- old
+ new

@@ -59,12 +59,10 @@ # Build the gem desc 'Build the gem' task :build do gemspec_path = File.join(Dir.pwd, 'ruby-pwsh.gemspec') - # Delete the puppet-specific code if it exists - # FileUtils.rm_r('lib/puppet') if File.exist?('lib/puppet') run_local_command("bundle exec gem build '#{gemspec_path}'") end # Tag the repo with a version in preparation for the release # @@ -73,10 +71,10 @@ desc 'Tag the repo with a version in preparation for release' task :tag, [:version, :sha] do |_task, args| raise "Invalid version #{args[:version]} - must be like '1.2.3'" unless args[:version] =~ /^\d+\.\d+\.\d+$/ run_local_command('git fetch upstream') - run_local_command("git tag -a version -m #{args[:version]} #{args[:sha]}") + run_local_command("git tag -a #{args[:version]} -m #{args[:version]} #{args[:sha]}") run_local_command('git push upstream --tags') end # Push the built gem to RubyGems #