bake-releases 0.4.0 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: debab81fa4c1eca42611442b2d1c0e64af432513c2a558bc8e23ae25e284a509
4
- data.tar.gz: 34a9f14e81f38da31588292d9c7a68d22db2a8efae6c0933343e0277ccd1175b
3
+ metadata.gz: a93358e129807efef4429aabfa849b76b4a9af22c2d2b39903886169e6f3d2c8
4
+ data.tar.gz: c1cd78406a6af653d0cd1d95a19039f836bfb85c8cfa3cf9a98bf12f39741b9e
5
5
  SHA512:
6
- metadata.gz: 9655d3f0d11542464a01d88c572873923976e2ed9f2590e603953da4e18ec1877dd1cecdf6dad2209fc49b45a2ffb2d94c6ba126f324c66875ee254888f03828
7
- data.tar.gz: 27aa6bc8c18c71b33062fee77d71fe6b04408e1c24c8d0c053df921b3c14e5c33b5688953e002ecfcb8e8426d7d7ded7bfb95109fa939f087d20bf5a5b56ef49
6
+ metadata.gz: 659a5910c5f299a9379392f95133447805e45280e727fc7f6ecf51857f26bc303f7f530b8309bb4da34fa65755a78126ceb63ec39fb66f5ff77e183ddd89ed74
7
+ data.tar.gz: 235f2f78a28a1d1bbe462c7a58c9f6ac585465d119f85785a8c9d835c3b927d0baac9ee0f63fc3cf06b778f8a966031aa5990801a78310da43a741b5e3e0f506
checksums.yaml.gz.sig CHANGED
Binary file
@@ -0,0 +1,97 @@
1
+ # Getting Started
2
+
3
+ This guide explains how to use `bake-releases` to manage release documentation for your Ruby gem.
4
+
5
+ ## Installation
6
+
7
+ Add the gem to your project:
8
+
9
+ ```bash
10
+ $ bundle add bake-releases
11
+ ```
12
+
13
+ ## Core Concepts
14
+
15
+ `bake-releases` manages a `releases.md` document that tracks changes to your Ruby gem over time. It integrates seamlessly with `bake-gem` to automatically update version numbers when releasing gems.
16
+
17
+ ## Usage
18
+
19
+ ### Initial Setup
20
+
21
+ 1. Create a `releases.md` file in your project root with the following structure:
22
+
23
+ ```markdown
24
+ # Releases
25
+
26
+ ## Unreleased
27
+
28
+ - New feature description here.
29
+ - Changed behavior description here.
30
+ - Bug fix description here.
31
+ ```
32
+
33
+ 2. Add release management to your `bake.rb` file:
34
+
35
+ ```ruby
36
+ # bake.rb
37
+
38
+ def after_gem_release_version_increment(version)
39
+ context['releases:update'].call(version)
40
+ end
41
+ ```
42
+
43
+ ### Releasing Changes
44
+
45
+ When you release your gem using `bake gem:release`, the "Unreleased" section will automatically be renamed to the version number (e.g., `## v1.2.3`).
46
+
47
+ ## Best Practices for Release Notes
48
+
49
+ ### Format Guidelines
50
+
51
+ - **Use `## Unreleased` section** for changes that haven't been released yet. The bake task automatically converts this to a versioned section when you release.
52
+
53
+ - **Use `## v0.0.0` format** for released versions. This format is automatically generated by the bake task.
54
+
55
+ - **Use `### Subsection`** for organizing more elaborate release notes within a version when needed (optional).
56
+
57
+ ### Content Guidelines
58
+
59
+ - **Be concise but descriptive** - Users should understand the impact without reading code.
60
+ - **Focus on user impact** - Describe what changed for the user, not implementation details.
61
+ - **Focus on externally visible changes** - Only mention changes that affect users. Internal improvements like "Improving tests" or "Updating code" are uninteresting for release notes unless there is nothing else to report.
62
+ - **Use active voice** - "Added support for..." rather than "Support was added for...".
63
+ - **Use backticks for code elements** - Wrap class names, method names, file names, and other code elements in backticks (e.g., `ClassName`, `method_name`, `config.yml`).
64
+ - **Link to issues/PRs when helpful** - Provides additional context for complex changes.
65
+ - **Group related changes** - Multiple small fixes can be combined into one entry.
66
+
67
+ ### Example Structure
68
+
69
+ ```markdown
70
+ # Releases
71
+
72
+ ## Unreleased
73
+
74
+ - Support for custom release templates.
75
+ - Integration with GitHub releases API.
76
+ - Improved error messages for invalid markdown.
77
+ - Fixed issue with nested header parsing.
78
+
79
+ ## v0.2.1
80
+
81
+ - Fixed compatibility with Ruby 3.2.
82
+ - Corrected timestamp formatting in release notes.
83
+
84
+ ## v0.2.0
85
+
86
+ - New `releases:validate` task for checking format.
87
+ - Support for custom release note templates.
88
+ - **Breaking**: Renamed `update_releases` to `releases:update`.
89
+ - Improved performance for large release documents.
90
+
91
+ ### Worker Pool Support
92
+
93
+ This version introduces optional worker pool support for handling concurrent release operations:
94
+
95
+ - Set `RELEASES_WORKER_POOL=true` to enable concurrent processing.
96
+ - Reduces blocking when processing multiple release documents.
97
+ ```
@@ -0,0 +1,13 @@
1
+ # Automatically generated context index for Utopia::Project guides.
2
+ # Do not edit then files in this directory directly, instead edit the guides and then run `bake utopia:project:agent:context:update`.
3
+ ---
4
+ description: Releases document management.
5
+ metadata:
6
+ documentation_uri: https://ioquatix.github.io/bake-releases/
7
+ funding_uri: https://github.com/sponsors/ioquatix/
8
+ source_code_uri: https://github.com/ioquatix/bake-releases.git
9
+ files:
10
+ - path: getting-started.md
11
+ title: Getting Started
12
+ description: This guide explains how to use `bake-releases` to manage release documentation
13
+ for your Ruby gem.
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Bake
7
7
  module Releases
8
- VERSION = "0.4.0"
8
+ VERSION = "0.4.2"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake-releases
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -71,6 +71,8 @@ extensions: []
71
71
  extra_rdoc_files: []
72
72
  files:
73
73
  - bake/releases.rb
74
+ - context/getting-started.md
75
+ - context/index.yaml
74
76
  - lib/bake/releases/version.rb
75
77
  - license.md
76
78
  - readme.md
metadata.gz.sig CHANGED
Binary file