create_github_release 2.1.2 → 2.1.3
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/.release-please-manifest.json +3 -0
- data/.yardopts +0 -2
- data/CHANGELOG.md +8 -0
- data/README.md +13 -15
- data/Rakefile +7 -0
- data/exe/revert-github-release +1 -0
- data/lib/create_github_release/command_line/validations.rb +2 -2
- data/lib/create_github_release/version.rb +1 -1
- data/release-please-config.json +22 -0
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08c3d00a0f75a3accad80335ab689ec5e8031c31d2dffd2cb5c3e169a8ee0e7b'
|
4
|
+
data.tar.gz: 298c656c98c5e0ab3c82f16ca68136f7ee171835457becda20518524b15b71f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e116fddb0d27f6f6ddff3a255632bdc1c4156ecedfe834d0eb84aabff7a4d56dc0be031ddddcf75d91b0405624d3b9745d16d13027712c53c204f72d7a3c19c6
|
7
|
+
data.tar.gz: 49ad78a9eca648b551b309fad714a9e48c25a10bc55691a6fbc17dcf8e7058ffa44893531efba53e555b701c0a2041d616b804e12688bdf009ceb0c0bd2c3897
|
data/.yardopts
CHANGED
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
7
7
|
|
8
|
+
## [2.1.3](https://github.com/main-branch/create_github_release/compare/v2.1.2...v2.1.3) (2025-04-16)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* Automate commit-to-publish workflow ([934289d](https://github.com/main-branch/create_github_release/commit/934289d3fad43157982eefe5d4bd65d066ab62cd))
|
14
|
+
* Remove yardoc references to files not included in the project ([19b781c](https://github.com/main-branch/create_github_release/commit/19b781c621b0197f53c5edf19ec19c23fc497567))
|
15
|
+
|
8
16
|
## v2.1.2 (2024-10-10)
|
9
17
|
|
10
18
|
[Full Changelog](https://github.com/main-branch/create_github_release/compare/v2.1.1..v2.1.2)
|
data/README.md
CHANGED
@@ -4,8 +4,6 @@
|
|
4
4
|
[](https://rubydoc.info/gems/create_github_release/)
|
5
5
|
[](https://rubydoc.info/gems/create_github_release/file/CHANGELOG.md)
|
6
6
|
[](https://github.com/main-branch/create_github_release/actions/workflows/continuous_integration.yml)
|
7
|
-
[](https://codeclimate.com/github/main-branch/create_github_release/maintainability)
|
8
|
-
[](https://codeclimate.com/github/main-branch/create_github_release/test_coverage)
|
9
7
|
[](https://conventionalcommits.org)
|
11
9
|
[](https://main-branch.slack.com/archives/C07NG282N80)
|
@@ -28,22 +26,22 @@ Tested on Ruby 3.0+
|
|
28
26
|
|
29
27
|
* [Installation](#installation)
|
30
28
|
* [Usage](#usage)
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
29
|
+
* [First release using this script when there were NO prior releases](#first-release-using-this-script-when-there-were-no-prior-releases)
|
30
|
+
* [First release using this script when there were prior releases](#first-release-using-this-script-when-there-were-prior-releases)
|
31
|
+
* [Subsequent releases using this script](#subsequent-releases-using-this-script)
|
32
|
+
* [Pre-release versions](#pre-release-versions)
|
33
|
+
* [Creating the first pre-release version for a release](#creating-the-first-pre-release-version-for-a-release)
|
34
|
+
* [Creating subsequent pre-releases](#creating-subsequent-pre-releases)
|
35
|
+
* [Changing the pre-release type](#changing-the-pre-release-type)
|
36
|
+
* [Creating the release after pre-releases](#creating-the-release-after-pre-releases)
|
37
|
+
* [After Running create-github-release](#after-running-create-github-release)
|
38
|
+
* [Reverting `create-github-release`](#reverting-create-github-release)
|
41
39
|
* [FAQ](#faq)
|
42
|
-
|
40
|
+
* [How is the changelog updated?](#how-is-the-changelog-updated)
|
43
41
|
* [Development](#development)
|
44
42
|
* [Contributing](#contributing)
|
45
|
-
|
46
|
-
|
43
|
+
* [Commit message guidelines](#commit-message-guidelines)
|
44
|
+
* [Pull request guidelines](#pull-request-guidelines)
|
47
45
|
* [License](#license)
|
48
46
|
|
49
47
|
## Installation
|
data/Rakefile
CHANGED
@@ -27,6 +27,13 @@ rescue Bundler::BundlerError => e
|
|
27
27
|
exit e.status_code
|
28
28
|
end
|
29
29
|
|
30
|
+
# Make it so that calling `rake release` just calls `rake release:rubygems_push` to
|
31
|
+
# avoid creating and pushing a new tag.
|
32
|
+
|
33
|
+
Rake::Task['release'].clear
|
34
|
+
desc 'Customized release task to avoid creating a new tag'
|
35
|
+
task release: 'release:rubygem_push'
|
36
|
+
|
30
37
|
CLEAN << 'pkg'
|
31
38
|
CLOBBER << 'Gemfile.lock'
|
32
39
|
|
data/exe/revert-github-release
CHANGED
@@ -119,7 +119,7 @@ module CreateGithubRelease
|
|
119
119
|
# @return [Boolean]
|
120
120
|
# @api private
|
121
121
|
def valid?
|
122
|
-
|
122
|
+
[true, false].include? options.quiet
|
123
123
|
end
|
124
124
|
|
125
125
|
# Called when valid? is `false` to return the error messages
|
@@ -137,7 +137,7 @@ module CreateGithubRelease
|
|
137
137
|
# @return [Boolean]
|
138
138
|
# @api private
|
139
139
|
def valid?
|
140
|
-
|
140
|
+
[true, false].include? options.verbose
|
141
141
|
end
|
142
142
|
|
143
143
|
# Called when valid? is `false` to return the error messages
|
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"bootstrap-sha": "5f3a18d74fb755d31cc4d3dfc9d18a6df4799945",
|
3
|
+
"packages": {
|
4
|
+
".": {
|
5
|
+
"release-type": "ruby",
|
6
|
+
"package-name": "create_github_release",
|
7
|
+
"changelog-path": "CHANGELOG.md",
|
8
|
+
"version-file": "lib/create_github_release/version.rb",
|
9
|
+
"bump-minor-pre-major": true,
|
10
|
+
"bump-patch-for-minor-pre-major": true,
|
11
|
+
"draft": false,
|
12
|
+
"prerelease": false,
|
13
|
+
"include-component-in-tag": false
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"plugins": [
|
17
|
+
{
|
18
|
+
"type": "sentence-case"
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
|
22
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: create_github_release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James
|
8
|
-
autorequire:
|
9
8
|
bindir: exe
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: command_line_boss
|
@@ -254,6 +253,7 @@ files:
|
|
254
253
|
- ".commitlintrc.yml"
|
255
254
|
- ".husky/commit-msg"
|
256
255
|
- ".markdownlint.yml"
|
256
|
+
- ".release-please-manifest.json"
|
257
257
|
- ".rspec"
|
258
258
|
- ".rubocop.yml"
|
259
259
|
- ".vscode/launch.json"
|
@@ -308,6 +308,7 @@ files:
|
|
308
308
|
- lib/create_github_release/tasks/update_version.rb
|
309
309
|
- lib/create_github_release/version.rb
|
310
310
|
- package.json
|
311
|
+
- release-please-config.json
|
311
312
|
homepage: https://github.com/main-branch/create_github_release
|
312
313
|
licenses:
|
313
314
|
- MIT
|
@@ -315,10 +316,9 @@ metadata:
|
|
315
316
|
allowed_push_host: https://rubygems.org
|
316
317
|
homepage_uri: https://github.com/main-branch/create_github_release
|
317
318
|
source_code_uri: https://github.com/main-branch/create_github_release
|
318
|
-
documentation_uri: https://rubydoc.info/gems/create_github_release/2.1.
|
319
|
-
changelog_uri: https://rubydoc.info/gems/create_github_release/2.1.
|
319
|
+
documentation_uri: https://rubydoc.info/gems/create_github_release/2.1.3
|
320
|
+
changelog_uri: https://rubydoc.info/gems/create_github_release/2.1.3/file/CHANGELOG.md
|
320
321
|
rubygems_mfa_required: 'true'
|
321
|
-
post_install_message:
|
322
322
|
rdoc_options: []
|
323
323
|
require_paths:
|
324
324
|
- lib
|
@@ -335,8 +335,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
335
335
|
requirements:
|
336
336
|
- 'Platform: Mac, Linux, or Windows'
|
337
337
|
- 'Ruby: MRI 3.1 or later, TruffleRuby 24 or later, or JRuby 9.4 or later'
|
338
|
-
rubygems_version: 3.
|
339
|
-
signing_key:
|
338
|
+
rubygems_version: 3.6.7
|
340
339
|
specification_version: 4
|
341
340
|
summary: A script to create a GitHub release for a Ruby Gem
|
342
341
|
test_files: []
|