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 +4 -4
- data/README.md +24 -7
- data/lib/typical_sort/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e562e9296dbb12e4cf437144bfe2b108fe07409f8b70bf844e20f69de7193908
|
|
4
|
+
data.tar.gz: 9c3565e404b3b5bcd6eacb58ff52061b0c7f09a3a4be8350c80f48c96d3e1964
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
197
|
+
## Releases
|
|
198
198
|
|
|
199
|
-
|
|
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
|
-
|
|
202
|
-
|
|
203
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
data/lib/typical_sort/version.rb
CHANGED