From d405137bbb174001298eec989c8c683b1fc95cc5 Mon Sep 17 00:00:00 2001 From: Jeremiah Parrack Date: Sun, 21 Feb 2021 23:11:36 -0500 Subject: [PATCH 01/20] Update eb_deployer.gemspec --- eb_deployer.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_deployer.gemspec b/eb_deployer.gemspec index 4a4ab28..c8dec3a 100644 --- a/eb_deployer.gemspec +++ b/eb_deployer.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.4', '>= 1.4.0' gem.add_runtime_dependency 'aws-sdk-elasticbeanstalk', '~> 1.5', '~> 1.5.0' - gem.add_runtime_dependency 'aws-sdk-s3', '~> 1', '~> 1.30.0' + gem.add_runtime_dependency 'aws-sdk-s3', '~> 1', '~> 1.88.1' gem.files = `git ls-files`.split($\).reject {|f| f =~ /^samples\// } gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } From c9dafb3d6ebdbc9bca63afe7788aedad830b9d39 Mon Sep 17 00:00:00 2001 From: Jeremiah-Parrack Date: Wed, 7 Dec 2022 17:34:52 -0500 Subject: [PATCH 02/20] Jeremiah-Parrack | update aws sdks --- .ruby-version | 2 +- eb_deployer.gemspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ruby-version b/.ruby-version index aedc15b..a04abec 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.3 +2.6.10 diff --git a/eb_deployer.gemspec b/eb_deployer.gemspec index c8dec3a..78a4360 100644 --- a/eb_deployer.gemspec +++ b/eb_deployer.gemspec @@ -9,8 +9,8 @@ Gem::Specification.new do |gem| gem.homepage = "https://github.com/ThoughtWorksStudios/eb_deployer" gem.license = 'MIT' - gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.4', '>= 1.4.0' - gem.add_runtime_dependency 'aws-sdk-elasticbeanstalk', '~> 1.5', '~> 1.5.0' + gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.4', '>= 1.73.0' + gem.add_runtime_dependency 'aws-sdk-elasticbeanstalk', '~> 1.52', '~> 1.52.0' gem.add_runtime_dependency 'aws-sdk-s3', '~> 1', '~> 1.88.1' gem.files = `git ls-files`.split($\).reject {|f| f =~ /^samples\// } From a578d357216aa155d2383d45e38ad191586c2f29 Mon Sep 17 00:00:00 2001 From: Jeremiah-Parrack Date: Wed, 7 Dec 2022 17:41:13 -0500 Subject: [PATCH 03/20] Jeremiah-Parrack | --- eb_deployer.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_deployer.gemspec b/eb_deployer.gemspec index 78a4360..85b74f8 100644 --- a/eb_deployer.gemspec +++ b/eb_deployer.gemspec @@ -11,7 +11,7 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.4', '>= 1.73.0' gem.add_runtime_dependency 'aws-sdk-elasticbeanstalk', '~> 1.52', '~> 1.52.0' - gem.add_runtime_dependency 'aws-sdk-s3', '~> 1', '~> 1.88.1' + gem.add_runtime_dependency 'aws-sdk-s3', '~> 1.117', '~> 1.117.2' gem.files = `git ls-files`.split($\).reject {|f| f =~ /^samples\// } gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } From a41be18752033165cebdd9e04f812e64629ac4dc Mon Sep 17 00:00:00 2001 From: Jeremiah Parrack Date: Tue, 31 Jan 2023 12:49:38 -0500 Subject: [PATCH 04/20] Remove File.exists --- lib/eb_deployer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eb_deployer.rb b/lib/eb_deployer.rb index c446b1b..b552eb6 100644 --- a/lib/eb_deployer.rb +++ b/lib/eb_deployer.rb @@ -260,7 +260,7 @@ def self.cli parser.parse! action = options.delete(:action) - if File.exists?(options[:config_file]) + if File.exist?(options[:config_file]) puts "Found configuration at #{options[:config_file]}." else puts "Generated default configuration at #{options[:config_file]}." From 1bd881c3a8006ecf1f4cb14b7543d0a0dceb235f Mon Sep 17 00:00:00 2001 From: Jeremiah-Parrack Date: Tue, 31 Jan 2023 14:41:38 -0500 Subject: [PATCH 05/20] Jeremiah-Parrack | update to support ruby 3.2 --- .ruby-version | 2 +- Gemfile | 2 +- bin/eb_deploy | 2 +- eb_deployer.gemspec | 8 ++++---- lib/eb_deployer/tasks.rb | 2 +- lib/eb_deployer/version.rb | 2 +- samples/jruby_rails4/config/boot.rb | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.ruby-version b/.ruby-version index a04abec..944880f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.10 +3.2.0 diff --git a/Gemfile b/Gemfile index 810c33b..bf8251f 100644 --- a/Gemfile +++ b/Gemfile @@ -6,5 +6,5 @@ gemspec gem 'redcarpet', :platform => :mri gem 'yard' gem 'rake' -gem 'railties', '~> 4.1' +gem 'railties', '~> 5.0', '>= 5.0.0.1' gem 'test-unit' diff --git a/bin/eb_deploy b/bin/eb_deploy index bf0be48..edee637 100755 --- a/bin/eb_deploy +++ b/bin/eb_deploy @@ -2,7 +2,7 @@ git_path = File.join(File.expand_path('../..', __FILE__), '.git') -if File.exists?(git_path) +if File.exist?(git_path) lib_path = File.expand_path('../../lib', __FILE__) $:.unshift(lib_path) end diff --git a/eb_deployer.gemspec b/eb_deployer.gemspec index 85b74f8..4576c7d 100644 --- a/eb_deployer.gemspec +++ b/eb_deployer.gemspec @@ -9,14 +9,14 @@ Gem::Specification.new do |gem| gem.homepage = "https://github.com/ThoughtWorksStudios/eb_deployer" gem.license = 'MIT' - gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.4', '>= 1.73.0' - gem.add_runtime_dependency 'aws-sdk-elasticbeanstalk', '~> 1.52', '~> 1.52.0' - gem.add_runtime_dependency 'aws-sdk-s3', '~> 1.117', '~> 1.117.2' + gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.4', '>= 1.76.0' + gem.add_runtime_dependency 'aws-sdk-elasticbeanstalk', '~> 1.52', '~> 1.54.0' + gem.add_runtime_dependency 'aws-sdk-s3', '~> 1.117', '~> 1.119.0' gem.files = `git ls-files`.split($\).reject {|f| f =~ /^samples\// } gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.name = "eb_deployer" + gem.name = "eb_deployer_updated" gem.require_paths = ["lib"] gem.version = EbDeployer::VERSION end diff --git a/lib/eb_deployer/tasks.rb b/lib/eb_deployer/tasks.rb index dbf13cb..7e77452 100644 --- a/lib/eb_deployer/tasks.rb +++ b/lib/eb_deployer/tasks.rb @@ -13,7 +13,7 @@ def eb_deployer_package def eb_package_files ignore_file = File.join(Dir.pwd, ".ebdeployerignore") - ignore_patterns = File.exists?(ignore_file) ? File.readlines(ignore_file).map(&:strip) : [] + ignore_patterns = File.exist?(ignore_file) ? File.readlines(ignore_file).map(&:strip) : [] `git ls-files`.lines.reject { |f| ignore_patterns.any? { |p| File.fnmatch(p, f.strip) } } end diff --git a/lib/eb_deployer/version.rb b/lib/eb_deployer/version.rb index 55c5280..d454273 100644 --- a/lib/eb_deployer/version.rb +++ b/lib/eb_deployer/version.rb @@ -1,3 +1,3 @@ module EbDeployer - VERSION = "0.7.0" + VERSION = "0.8.1" end diff --git a/samples/jruby_rails4/config/boot.rb b/samples/jruby_rails4/config/boot.rb index 3596736..5e5f0c1 100644 --- a/samples/jruby_rails4/config/boot.rb +++ b/samples/jruby_rails4/config/boot.rb @@ -1,4 +1,4 @@ # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) -require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) +require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) From e50fc3237a13aab93c5040740fe1bd1da30f4074 Mon Sep 17 00:00:00 2001 From: Jeremiah Parrack Date: Wed, 20 Sep 2023 09:30:02 -0400 Subject: [PATCH 06/20] Change gem name back to eb_deployer --- eb_deployer.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eb_deployer.gemspec b/eb_deployer.gemspec index 4576c7d..4fcb2cf 100644 --- a/eb_deployer.gemspec +++ b/eb_deployer.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |gem| gem.files = `git ls-files`.split($\).reject {|f| f =~ /^samples\// } gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.name = "eb_deployer_updated" + gem.name = "eb_deployer" gem.require_paths = ["lib"] gem.version = EbDeployer::VERSION end From 15cabbb7d1bb64cc7d3e98e66ff245b3d0626e10 Mon Sep 17 00:00:00 2001 From: qwcode Date: Tue, 26 Sep 2023 15:32:04 -0700 Subject: [PATCH 07/20] fix: update gitignore file --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index a5bacc3..79bf871 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,5 @@ /samples/jruby_rails4/public/assets/* /TAGS /.aws +/.bundle +/vendor From 5b69e7ede3b436df75e9ab94bae3d7f5308ea204 Mon Sep 17 00:00:00 2001 From: qwcode Date: Tue, 26 Sep 2023 15:33:02 -0700 Subject: [PATCH 08/20] fix: update ruby version and simplify dependency management --- .ruby-version | 2 +- Gemfile | 2 +- eb_deployer.gemspec | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.ruby-version b/.ruby-version index 944880f..be94e6f 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.0 +3.2.2 diff --git a/Gemfile b/Gemfile index bf8251f..38fda44 100644 --- a/Gemfile +++ b/Gemfile @@ -6,5 +6,5 @@ gemspec gem 'redcarpet', :platform => :mri gem 'yard' gem 'rake' -gem 'railties', '~> 5.0', '>= 5.0.0.1' +gem 'railties', '~> 7.0' gem 'test-unit' diff --git a/eb_deployer.gemspec b/eb_deployer.gemspec index 4fcb2cf..d8f79d8 100644 --- a/eb_deployer.gemspec +++ b/eb_deployer.gemspec @@ -9,9 +9,9 @@ Gem::Specification.new do |gem| gem.homepage = "https://github.com/ThoughtWorksStudios/eb_deployer" gem.license = 'MIT' - gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.4', '>= 1.76.0' - gem.add_runtime_dependency 'aws-sdk-elasticbeanstalk', '~> 1.52', '~> 1.54.0' - gem.add_runtime_dependency 'aws-sdk-s3', '~> 1.117', '~> 1.119.0' + gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.0' + gem.add_runtime_dependency 'aws-sdk-elasticbeanstalk', '~> 1.0' + gem.add_runtime_dependency 'aws-sdk-s3', '~> 1.0' gem.files = `git ls-files`.split($\).reject {|f| f =~ /^samples\// } gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } From 9fa2e7c7824631bc98c71fb9ff69699c9b8c1148 Mon Sep 17 00:00:00 2001 From: qwcode Date: Tue, 26 Sep 2023 15:58:44 -0700 Subject: [PATCH 09/20] build: man_eb_deployer v0.8.0 --- eb_deployer.gemspec | 2 +- lib/eb_deployer/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eb_deployer.gemspec b/eb_deployer.gemspec index d8f79d8..afd706b 100644 --- a/eb_deployer.gemspec +++ b/eb_deployer.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |gem| gem.files = `git ls-files`.split($\).reject {|f| f =~ /^samples\// } gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) - gem.name = "eb_deployer" + gem.name = "man_eb_deployer" gem.require_paths = ["lib"] gem.version = EbDeployer::VERSION end diff --git a/lib/eb_deployer/version.rb b/lib/eb_deployer/version.rb index d454273..42c7833 100644 --- a/lib/eb_deployer/version.rb +++ b/lib/eb_deployer/version.rb @@ -1,3 +1,3 @@ module EbDeployer - VERSION = "0.8.1" + VERSION = "0.8.0" end From 0c7641fde11f5706d6388eb2cd40a8e73f76a234 Mon Sep 17 00:00:00 2001 From: qwcode Date: Tue, 26 Sep 2023 16:00:11 -0700 Subject: [PATCH 10/20] build: remove travis config --- .travis.yml | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index fa396fa..0000000 --- a/.travis.yml +++ /dev/null @@ -1,14 +0,0 @@ -rvm: - - 1.9.3 - - 2.2.10 - - 2.3.8 - - 2.4.5 - - 2.5.3 - - jruby-9.2.4.0 -before_install: - - gem install bundler -script: "bundle exec rake" -bundler_args: "--without repl documentation" -branches: - only: - - master From 65c1c8c3bb057748a676b8e6041cd5404dd31af4 Mon Sep 17 00:00:00 2001 From: qwcode Date: Tue, 26 Sep 2023 16:47:46 -0700 Subject: [PATCH 11/20] build: unit test workflow --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..416fd29 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,15 @@ +name: Tests + +on: + pull_request: {} + workflow_dispatch: {} + +jobs: + test: + name: Unit Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 + - run: bundle install + - run: bundle exec rake test From 88c96aaa9f2d711d187e5705750271684f6b296c Mon Sep 17 00:00:00 2001 From: qwcode Date: Wed, 27 Sep 2023 08:28:27 -0700 Subject: [PATCH 12/20] chore: update gemspec authors, email, and url --- eb_deployer.gemspec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eb_deployer.gemspec b/eb_deployer.gemspec index afd706b..a787261 100644 --- a/eb_deployer.gemspec +++ b/eb_deployer.gemspec @@ -2,11 +2,11 @@ require File.expand_path('../lib/eb_deployer/version', __FILE__) Gem::Specification.new do |gem| - gem.authors = ["wpc", "betarelease", "xli"] - gem.email = ["alex.hal9000@gmail.com", "sudhindra.r.rao@gmail.com", 'swing1979@gmail.com'] + gem.authors = ["wpc", "betarelease", "xli", "manheim"] + gem.email = ["tooling@manheim.com "] gem.description = %q{For automating Blue-Green deployment flows on Elastic Beanstalk.} gem.summary = %q{Low friction deployments should be a breeze. Elastic Beanstalk provides a great foundation for performing Blue-Green deployments, and EbDeployer add a missing top to automate the whole flow out of the box.} - gem.homepage = "https://github.com/ThoughtWorksStudios/eb_deployer" + gem.homepage = "https://github.com/manheim/eb_deployer" gem.license = 'MIT' gem.add_runtime_dependency 'aws-sdk-cloudformation', '~> 1.0' From 702122b7ea1105dcbfd4df3808903d4fe57b79ac Mon Sep 17 00:00:00 2001 From: qwcode Date: Wed, 27 Sep 2023 11:52:29 -0700 Subject: [PATCH 13/20] build: add release workflow --- .github/workflows/release.yml | 26 ++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 27 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..6b37b6a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,26 @@ +name: Release +on: + push: + branches: + - main +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + id: release + with: + release-type: ruby + package-name: man_eb_deployer + - uses: actions/checkout@v4 + - name: publish to rubygems + if: ${{ steps.release.outputs.release_created }} + run: | + mkdir -p $HOME/.gem + touch $HOME/.gem/credentials + chmod 0600 $HOME/.gem/credentials + printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials + gem build eb_deployer.gemspec + # gem push man_eb_deployer-*.gem + env: + GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}" diff --git a/.gitignore b/.gitignore index 79bf871..a6a8282 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /.aws /.bundle /vendor +/*.gem From c70fb32a3233e8ff77e7fe6f42211f6d4ba54dc6 Mon Sep 17 00:00:00 2001 From: qwcode Date: Wed, 27 Sep 2023 12:12:43 -0700 Subject: [PATCH 14/20] build: revert version bump to let release please manage --- lib/eb_deployer/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/eb_deployer/version.rb b/lib/eb_deployer/version.rb index 42c7833..55c5280 100644 --- a/lib/eb_deployer/version.rb +++ b/lib/eb_deployer/version.rb @@ -1,3 +1,3 @@ module EbDeployer - VERSION = "0.8.0" + VERSION = "0.7.0" end From 1cfe76fe93b595cf239234035b4d44eb0458bfbe Mon Sep 17 00:00:00 2001 From: qwcode Date: Wed, 27 Sep 2023 12:58:26 -0700 Subject: [PATCH 15/20] build: update release permissions --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b37b6a..889bc9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,9 @@ on: push: branches: - main +permissions: + contents: write + pull-requests: write jobs: release: runs-on: ubuntu-latest From 0ce9bbe1b905d3fadb749365b5e7fd7042f09fe7 Mon Sep 17 00:00:00 2001 From: qwcode Date: Wed, 27 Sep 2023 13:48:21 -0700 Subject: [PATCH 16/20] feat: explain fork transition in readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0806476..9efe081 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -# EbDeployer [![Build Status](https://snap-ci.com/ThoughtWorksStudios/eb_deployer/branch/master/build_image)](https://snap-ci.com/ThoughtWorksStudios/eb_deployer/branch/master) [![Build Status](https://travis-ci.org/ThoughtWorksStudios/eb_deployer.png?branch=master)](https://travis-ci.org/ThoughtWorksStudios/eb_deployer) [![Gem Version](https://badge.fury.io/rb/eb_deployer.svg)](http://badge.fury.io/rb/eb_deployer) [![Dependency Status](https://www.versioneye.com/ruby/eb_deployer/0.6.1/badge.svg)](https://www.versioneye.com/ruby/eb_deployer/0.6.1) +# EbDeployer ![Tests](https://github.com/manheim/eb_deployer/actions/workflows/test.yml/badge.svg) [![Gem Version](https://badge.fury.io/rb/eb_deployer.svg)](http://badge.fury.io/rb/eb_deployer) [![Dependency Status](https://www.versioneye.com/ruby/eb_deployer/0.6.1/badge.svg)](https://www.versioneye.com/ruby/eb_deployer/0.6.1) + +Fork maintained by Manheim to upgrade Ruby version and dependencies. [Built with :yellow_heart: and :coffee: in San Francisco](http://www.thoughtworks.com/mingle/team/) From 90507c7cf5669ca948015f3667d037aaf6430cc3 Mon Sep 17 00:00:00 2001 From: qwcode Date: Wed, 27 Sep 2023 14:07:23 -0700 Subject: [PATCH 17/20] build: update release workflow --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 889bc9a..057ed0e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,5 +1,6 @@ name: Release on: + workflow_dispatch: {} push: branches: - main @@ -15,6 +16,7 @@ jobs: with: release-type: ruby package-name: man_eb_deployer + version-file: lib/eb_deployer/version.rb - uses: actions/checkout@v4 - name: publish to rubygems if: ${{ steps.release.outputs.release_created }} From b0bfe896676755e70e7291a148214761a21257ee Mon Sep 17 00:00:00 2001 From: qwcode Date: Wed, 27 Sep 2023 14:15:49 -0700 Subject: [PATCH 18/20] build: use setup-ruby undle-cache --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 416fd29..873666e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,5 +11,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@52b8784594ec115fd17094752708121dc5dabb47 - - run: bundle install + with: + bundler-cache: true - run: bundle exec rake test From f262778163b30f3e896af250561e80c96316404b Mon Sep 17 00:00:00 2001 From: qwcode Date: Mon, 16 Oct 2023 17:39:16 -0700 Subject: [PATCH 19/20] fix: correct default branch --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 057ed0e..290f0b4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ on: workflow_dispatch: {} push: branches: - - main + - master permissions: contents: write pull-requests: write From 4bbfae212240c86366a2acc5faaf853e6b1ab0e6 Mon Sep 17 00:00:00 2001 From: qwcode Date: Mon, 16 Oct 2023 18:10:50 -0700 Subject: [PATCH 20/20] build: uncomment gem push --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 290f0b4..000b778 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,6 @@ jobs: chmod 0600 $HOME/.gem/credentials printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials gem build eb_deployer.gemspec - # gem push man_eb_deployer-*.gem + gem push man_eb_deployer-*.gem env: GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"