Skip to content

Commit

Permalink
uncomment rake push
Browse files Browse the repository at this point in the history
  • Loading branch information
meghaniankov committed Jan 9, 2024
1 parent e88a08c commit 279b900
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ end

desc 'Push gem to rubygems'
task :push do
sh("echo #{terrafying_version}")

# gem_config = { rubygems_api_key: rubygems_api_key }.to_yaml
# File.open('.gemconfig', 'w') { |file| file.write(gem_config) }
# sh("gem push --config-file .gemconfig pkg/terrafying-#{terrafying_version}.gem")
gem_config = { rubygems_api_key: rubygems_api_key }.to_yaml
File.open('.gemconfig', 'w') { |file| file.write(gem_config) }
sh("gem push --config-file .gemconfig pkg/terrafying-#{terrafying_version}.gem")
end

desc 'Update the version for terrafying to DRONE_TAG. (0.0.0 if DRONE_TAG not set)'
Expand Down

0 comments on commit 279b900

Please sign in to comment.