.github/workflows/release.yml in chambermaid-1.0.0 vs .github/workflows/release.yml in chambermaid-1.0.1
- old
+ new
@@ -15,12 +15,15 @@
fetch-depth: 0
- uses: ridedott/release-me-action@master
id: get-version-number
with:
dry-run: true
- release-rules:
- '[{ "type": "release", "scope": "major", "release": "major" }]'
+ release-rules: |
+ [
+ { "type": "release", "scope": "major", "release": "major" },
+ { "type": "refactor", "release": "patch" }
+ ]
- uses: actions/setup-ruby@v1
with:
ruby-version: "2.6"
- run: gem install bundler -v 2.1.2
- name: Set version.rb and Gemfile.lock
@@ -35,11 +38,14 @@
commit-assets: |
./lib/chambermaid/version.rb
./Gemfile.lock
release-assets: |
./pkg/*.gem
- release-rules:
- '[{ "type": "release", "scope": "major", "release": "major" }]'
+ release-rules: |
+ [
+ { "type": "release", "scope": "major", "release": "major" },
+ { "type": "refactor", "release": "patch" }
+ ]
- name: publish to rubygems
run: |
mkdir -p ~/.gem
printf -- "---\n:rubygems_api_key: $GEM_HOST_API_KEY" > ~/.gem/credentials
chmod 0600 ~/.gem/credentials