typical_sort 0.0.2.pre.rc → 0.0.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: b87dbf5641b61d4d91226f1e1ac41d0023111feff95e66ecafe556811d1ba35a
4
- data.tar.gz: c8938919d3aacb024d5b053e2e447d9c1431dd41f1be11b9face066a1c7c9676
3
+ metadata.gz: e562e9296dbb12e4cf437144bfe2b108fe07409f8b70bf844e20f69de7193908
4
+ data.tar.gz: 9c3565e404b3b5bcd6eacb58ff52061b0c7f09a3a4be8350c80f48c96d3e1964
5
5
  SHA512:
6
- metadata.gz: 59552e79bd79dd6467be238ecabdcccf64bccba01877718e1a6d00178011ba93926eb57af60bb61d8834f77161e154e1db01f510e18954319b6c654050dbca97
7
- data.tar.gz: 3ef98d235347bb12e36532bc9314b97981c8ed9e99ca477563e617f394065ac20db1b32baab503c2c7a347315a2361710e1a872eaf371a650041c34c67564f5e
6
+ metadata.gz: 215dd94a7bb316c864574d106b8fae4980e8a36383408bbbdf038d6d538ac9c52e22b82d0e9f8c7d7b2e7569ea4223a250f1650ac14433aa8d8c0cbbb86b3642
7
+ data.tar.gz: 4039750518702381bbe6dedffe1618dd44544307f30e46692a6204f9310099e48ef2645e858719d6beae2cf785e74474c695e8b12dcfcb88e8360b21c5906c25
data/README.md CHANGED
@@ -194,18 +194,35 @@ bundle exec appraisal rspec
194
194
  bundle exec standardrb
195
195
  ```
196
196
 
197
- ### Releasing
197
+ ## Releases
198
198
 
199
- Create a release from `main`:
199
+ Releases are driven by git tags. The version lives in `lib/typical_sort/version.rb`, and the gemspec reads `TypicalSort::VERSION`.
200
200
 
201
- ```sh
202
- bin/release {major|minor|patch|pre}
203
- git push --follow-tags
201
+
202
+ ```bash
203
+ bundle install
204
+ bin/release patch # or: minor, major
205
+ ```
206
+
207
+ To publish an RC for a specific version:
208
+
209
+ ```bash
210
+ bin/release rc 1.2.0
204
211
  ```
205
212
 
206
- The release script validates the repository, bumps the version, creates a git tag.
213
+ This sets the version to `1.2.0-rc` and tags it as `v1.2.0-rc`.
214
+
215
+ Prereleases can also use `bump`'s native `pre` increment:
216
+
217
+ ```bash
218
+ bin/release pre
219
+ ```
220
+
221
+ `pre` cycles prerelease labels in order: `alpha`, `beta`, `rc`, then the final version. For example, `1.2.0-rc` becomes `1.2.0`, tagged as `v1.2.0`.
222
+
223
+ `bin/release` uses `bump`, commits the version file, creates a `v<version>` tag, pushes the branch, and pushes the tag.
207
224
 
208
- Publishing to RubyGems and creating a GitHub Release are handled automatically by GitHub Actions.
225
+ GitHub Actions publishes only when a `v*` tag is pushed. The publish workflow builds the gem and pushes it to RubyGems with `RUBYGEMS_API_KEY`.
209
226
 
210
227
  ## Contributing
211
228
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TypicalSort
4
- VERSION = "0.0.2-rc"
4
+ VERSION = "0.0.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typical_sort
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2.pre.rc
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wyatt Kirby