buttercms-ruby-zwg 2.4.1 → 2.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +32 -0
- data/.github/workflows/rubygems-publish.yml +8 -8
- data/CHANGELOG.md +22 -0
- data/CONTRIBUTING.md +11 -0
- data/lib/buttercms/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b8e22ba26d2f914c0e0c72d4494f36d3f3ff70cb1e5edae76bfd6dd3a246062
|
|
4
|
+
data.tar.gz: b7f93e6ce8e3477a8bd074708ce4f8623d2836640ef06dc8eff92aea318227df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8416fe7acc22a9e014672b8531ae322dd364bae32839c6106564a8cbe802cb98cd1c376f8e9f3c675f65da29887fe5af2162c5d37e7143424b8424fa04d6609c
|
|
7
|
+
data.tar.gz: 0c1fc02c90e350aed975d578c7ad2d0e16d23df23db7be1fbe2f2b9151e2a07ddc2bbe19a2e6f005f783876b74019ba8bd882b9527806b892e0aa2abdf476129
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# This workflow opens and updates a pull request with a new package version
|
|
2
|
+
# based on code changes.
|
|
3
|
+
|
|
4
|
+
# The pull request updates the version in version.rb, updates the changelog
|
|
5
|
+
# and creates release tags.
|
|
6
|
+
|
|
7
|
+
# For more information, see https://github.com/marketplace/actions/release-please-action
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches:
|
|
13
|
+
- master
|
|
14
|
+
|
|
15
|
+
permissions:
|
|
16
|
+
contents: write
|
|
17
|
+
pull-requests: write
|
|
18
|
+
|
|
19
|
+
name: release-please
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
release-please:
|
|
23
|
+
runs-on: ubuntu-22.04
|
|
24
|
+
steps:
|
|
25
|
+
- uses: google-github-actions/release-please-action@v3.7.10
|
|
26
|
+
with:
|
|
27
|
+
release-type: ruby
|
|
28
|
+
package-name: release-please-action
|
|
29
|
+
version-file: "lib/buttercms/version.rb"
|
|
30
|
+
pull-request-title-pattern: "chore(release): ${version}"
|
|
31
|
+
pull-request-header: ":robot: Merge this PR to release a new version"
|
|
32
|
+
include-v-in-tag: false
|
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
|
|
4
4
|
name: Publish Gem
|
|
5
5
|
|
|
6
|
-
on:
|
|
6
|
+
on:
|
|
7
7
|
push:
|
|
8
8
|
branches:
|
|
9
9
|
- master
|
|
10
10
|
|
|
11
11
|
jobs:
|
|
12
|
-
|
|
13
|
-
if:
|
|
14
|
-
runs-on: ubuntu-
|
|
15
|
-
|
|
12
|
+
publish:
|
|
13
|
+
if: contains(github.event.head_commit.message, 'chore(release)')
|
|
14
|
+
runs-on: ubuntu-22.04
|
|
15
|
+
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@v3
|
|
17
|
+
- uses: actions/checkout@v3.5.3
|
|
18
18
|
|
|
19
19
|
- name: Release Gem
|
|
20
|
-
uses: discourse/publish-rubygems-action@
|
|
20
|
+
uses: discourse/publish-rubygems-action@v3
|
|
21
21
|
env:
|
|
22
22
|
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
|
23
23
|
RELEASE_COMMAND: rake release
|
|
24
24
|
GIT_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
|
|
25
|
-
GIT_NAME: github-actions[bot]
|
|
25
|
+
GIT_NAME: github-actions[bot]
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [2.5.2](https://github.com/zuzanawangle/buttercms-ruby/compare/v2.5.1...2.5.2) (2023-07-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* change tag format ([1522354](https://github.com/zuzanawangle/buttercms-ruby/commit/1522354c6695d4b8c03cc9e21abb0f32c4594b04))
|
|
9
|
+
|
|
10
|
+
## [2.5.1](https://github.com/zuzanawangle/buttercms-ruby/compare/v2.5.0...v2.5.1) (2023-07-30)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* change release command ([3dbfcf7](https://github.com/zuzanawangle/buttercms-ruby/commit/3dbfcf7f141aa104e9b3d2d8462d9e1c6c68481c))
|
|
16
|
+
|
|
17
|
+
## [2.5.0](https://github.com/zuzanawangle/buttercms-ruby/compare/v2.4.0...v2.5.0) (2023-07-30)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add release and publish actions ([2777bde](https://github.com/zuzanawangle/buttercms-ruby/commit/2777bde75910db29fdf144bb6a67fe2602170ef7))
|
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
## Release and publish a new SDK version
|
|
4
|
+
|
|
5
|
+
This SDK uses the [`release-please` GitHub Action](https://github.com/google-github-actions/release-please-action) to automate preparing new versions for release.
|
|
6
|
+
|
|
7
|
+
When you are ready to release a new SDK version, make sure that all your code changes have been approved and merged into the `master` branch and that your code is working. The `release-please` tool generates a changelog based on **commit messages; these messages should follow the [Conventional Commits](https://conventionalcommits.org) specification in order for the changelog to reflect all code changes accurately**. Otherwise, you would need to update the changelog manually before each release.
|
|
8
|
+
|
|
9
|
+
The `release-please` action opens and maintains a GitHub pull request with changes relevant to a new version release. Approve this pull request to release a new version of the SDK.
|
|
10
|
+
|
|
11
|
+
After the release, the new version is automatically published into the RubyGems repository (see the package [here](https://rubygems.org/gems/buttercms-ruby)).
|
data/lib/buttercms/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: buttercms-ruby-zwg
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ButterCMS
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-07-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|
|
@@ -46,9 +46,12 @@ executables: []
|
|
|
46
46
|
extensions: []
|
|
47
47
|
extra_rdoc_files: []
|
|
48
48
|
files:
|
|
49
|
+
- ".github/workflows/release-please.yml"
|
|
49
50
|
- ".github/workflows/rubygems-publish.yml"
|
|
50
51
|
- ".gitignore"
|
|
51
52
|
- ".rspec"
|
|
53
|
+
- CHANGELOG.md
|
|
54
|
+
- CONTRIBUTING.md
|
|
52
55
|
- Gemfile
|
|
53
56
|
- LICENSE
|
|
54
57
|
- README.md
|
|
@@ -97,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
97
100
|
- !ruby/object:Gem::Version
|
|
98
101
|
version: '0'
|
|
99
102
|
requirements: []
|
|
100
|
-
rubygems_version: 3.1.
|
|
103
|
+
rubygems_version: 3.1.2
|
|
101
104
|
signing_key:
|
|
102
105
|
specification_version: 4
|
|
103
106
|
summary: Ruby API client for ButterCMS
|