bake-gem 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/bake/gem/release/version.rb +9 -1
- data/bake/gem.rb +2 -0
- data/lib/bake/gem/version.rb +1 -1
- data/readme.md +4 -4
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 307b46bb648004706745207f0c6d53fcd1a30b8c2bfed945b57f23a2d65685d8
|
4
|
+
data.tar.gz: 3ed9dee4422cf593efe9ca45a92b1db0e55f2cf4d863f8e38d1b46fa5ce7b2cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3984cc693ce4a547ab0c880a396738b5c9f74c16bf604b8c56494ad7aafe9d68f8b2468a52c52d816532c290a6828b4236a0274f535842850ecf38d7f166cc7a
|
7
|
+
data.tar.gz: dffb5ba0adff68a801aa29a0cb76275cee66d3218227e2333ffc2dae98da546a86faef310ba11b0045dd447a4bbb08fc7ad53711ff036e6948d9b424fb1756f5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/bake/gem/release/version.rb
CHANGED
@@ -38,6 +38,8 @@ def increment(bump, message: "Bump version.")
|
|
38
38
|
|
39
39
|
# Ensure that any subsequent tasks use the correct version!
|
40
40
|
gemspec.version = ::Gem::Version.new(version_string)
|
41
|
+
|
42
|
+
after_increment(version)
|
41
43
|
end
|
42
44
|
end
|
43
45
|
|
@@ -54,9 +56,15 @@ def commit(bump, message: "Bump version.")
|
|
54
56
|
version_path = increment(bump, message: message)
|
55
57
|
|
56
58
|
if version_path
|
57
|
-
system("git", "add",
|
59
|
+
system("git", "add", "--all", chdir: context.root)
|
58
60
|
system("git", "commit", "-m", message, chdir: context.root)
|
59
61
|
else
|
60
62
|
raise "Could not find version number!"
|
61
63
|
end
|
62
64
|
end
|
65
|
+
|
66
|
+
protected
|
67
|
+
|
68
|
+
def after_increment(version)
|
69
|
+
context['after_gem_release_version_increment']&.call(version)
|
70
|
+
end
|
data/bake/gem.rb
CHANGED
@@ -42,6 +42,8 @@ def install(local: false)
|
|
42
42
|
@helper.install_gem(*arguments, path: path)
|
43
43
|
end
|
44
44
|
|
45
|
+
# Release the gem by building it, pushing it to the server, and tagging the release.
|
46
|
+
# @parameter tag [Boolean] Whether to tag the release.
|
45
47
|
def release(tag: true)
|
46
48
|
@helper.guard_clean
|
47
49
|
|
data/lib/bake/gem/version.rb
CHANGED
data/readme.md
CHANGED
@@ -10,6 +10,10 @@ Please see the [project documentation](https://ioquatix.github.io/bake-gem/) for
|
|
10
10
|
|
11
11
|
- [Getting Started](https://ioquatix.github.io/bake-gem/guides/getting-started/index) - This guide explains how to use `bake-gem` to release gems.
|
12
12
|
|
13
|
+
## See Also
|
14
|
+
|
15
|
+
- [Bake](https://github.com/ioquatix/bake) — The bake task execution tool.
|
16
|
+
|
13
17
|
## Contributing
|
14
18
|
|
15
19
|
We welcome contributions to this project.
|
@@ -27,7 +31,3 @@ This project uses the [Developer Certificate of Origin](https://developercertifi
|
|
27
31
|
### Contributor Covenant
|
28
32
|
|
29
33
|
This project is governed by the [Contributor Covenant](https://www.contributor-covenant.org/). All contributors and participants agree to abide by its terms.
|
30
|
-
|
31
|
-
## See Also
|
32
|
-
|
33
|
-
- [Bake](https://github.com/ioquatix/bake) — The bake task execution tool.
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bake-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
@@ -37,7 +37,7 @@ cert_chain:
|
|
37
37
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
38
38
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
39
39
|
-----END CERTIFICATE-----
|
40
|
-
date: 2024-
|
40
|
+
date: 2024-08-22 00:00:00.000000000 Z
|
41
41
|
dependencies:
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: console
|
metadata.gz.sig
CHANGED
Binary file
|