.github/workflows/release.yml in chambermaid-0.5.5 vs .github/workflows/release.yml in chambermaid-1.0.0
- old
+ new
@@ -15,10 +15,12 @@
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" }]'
- 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
@@ -33,9 +35,11 @@
commit-assets: |
./lib/chambermaid/version.rb
./Gemfile.lock
release-assets: |
./pkg/*.gem
+ release-rules:
+ '[{ "type": "release", "scope": "major", "release": "major" }]'
- name: publish to rubygems
run: |
mkdir -p ~/.gem
printf -- "---\n:rubygems_api_key: $GEM_HOST_API_KEY" > ~/.gem/credentials
chmod 0600 ~/.gem/credentials