Sha256: 45d653bcc99bd8e92847baed8337db46cf47833c1f335963335b0f7bdca988cc
Contents?: true
Size: 688 Bytes
Versions: 1
Compression:
Stored size: 688 Bytes
Contents
#!/usr/bin/env ruby long_name = 'lex-log' name = 'log' require "./lib/legion/extensions/#{name}/version" version = Legion::Extensions::Log::VERSION system("gem build #{long_name}.gemspec") system("gh release create v#{version} '#{long_name}-#{version}.gem'") system("gem push #{long_name}-#{version}.gem") system("gem push --key github --host https://rubygems.pkg.github.com/LegionIO #{long_name}-#{version}.gem") puts "Building docker image for Legion v#{version}" system("docker build --tag legionio/lex-#{name}:v#{version} .") puts 'Pushing to hub.docker.com' system("docker push legionio/lex-#{name}:v#{version}") system("docker push legionio/lex-#{name}:latest") puts 'completed'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lex-log-0.1.4 | docker_deploy.rb |