File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - main
7+ paths :
8+ - lib/**/version
79
810permissions :
911 contents : write
2426 - name : Publish to GitHub
2527 env :
2628 GEM_HOST_API_KEY : " Bearer ${{secrets.GITHUB_TOKEN}}"
27- RUBYGEMS_HOST : https://rubygems.pkg.github.com/${{github.repository_owner}}
2829 run : bin/release
2930 rubygems :
3031 name : RubyGems
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ AllCops:
1010 - vendor/**/*
1111 NewCops : enable
1212
13+ Gemspec/RequireMFA :
14+ Enabled : false
15+
1316Layout/ArgumentAlignment :
1417 EnforcedStyle : with_fixed_indentation
1518
Original file line number Diff line number Diff line change @@ -16,4 +16,10 @@ if [[ "${diff}" != "0" ]]; then
1616 exit 1
1717fi
1818
19+ if [[ -n " ${CI} " ]]; then
20+ git config --global user.email " gi+handlebars-ruby@users.noreply.github.com"
21+ git config --global user.name " handlebars-ruby"
22+ git fetch --tags
23+ fi
24+
1925" ${dir} /rake" release
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ Gem::Specification.new do |spec|
2020 spec . metadata [ "changelog_uri" ] = "#{ spec . homepage } /CHANGELOG.md"
2121 spec . metadata [ "github_repo" ] = spec . homepage
2222 spec . metadata [ "homepage_uri" ] = spec . homepage
23- spec . metadata [ "rubygems_mfa_required" ] = "true"
2423 spec . metadata [ "source_code_uri" ] = spec . homepage
2524
2625 spec . files = Dir . chdir ( File . expand_path ( __dir__ ) ) {
You can’t perform that action at this time.
0 commit comments