phi_attrs 0.4.0 → 0.4.1
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 +7 -23
- data/lib/phi_attrs/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: e9491994c4490412fc98cf81f0962715528ddfebeb262d4bc262f5724d5523fc
|
|
4
|
+
data.tar.gz: 88695a4f672da5e95513e6507f51fba9f8fa8d76d2bc90baef9cbdd251fcebe5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba47d32c99dfa8b757f9d37da114113d6099fd0db989ef4515f354105880f524300983795022b424fd10e19aa3fc0bd95c5317865ec2d53c180f6d16fbd597fe
|
|
7
|
+
data.tar.gz: 01054a9b3dafc8a1547681fdcc9990b1b7adf7fa6eb454dfab1a98f39752ed9477138f32161db2b5fd464f2b85c4e7470d57961a7306b5e5fb5f415f09ec6f45
|
data/README.md
CHANGED
|
@@ -471,34 +471,18 @@ Run `bin/setup` to install dependencies. Then, run `bundle exec rake` to run lin
|
|
|
471
471
|
|
|
472
472
|
To install this gem onto your local machine, run `bundle exec rake install`.
|
|
473
473
|
|
|
474
|
-
###
|
|
475
|
-
|
|
476
|
-
Releases are driven by git tags. The version lives in `lib/phi_attrs/version.rb`, and the gemspec reads `PhiAttrs::VERSION`.
|
|
477
|
-
|
|
478
|
-
```bash
|
|
479
|
-
bundle install
|
|
480
|
-
bin/release patch # or: minor, major
|
|
481
|
-
```
|
|
482
|
-
|
|
483
|
-
To publish an RC for a specific version:
|
|
484
|
-
|
|
485
|
-
```bash
|
|
486
|
-
bin/release rc 1.2.0
|
|
487
|
-
```
|
|
488
|
-
|
|
489
|
-
This sets the version to `1.2.0-rc` and tags it as `v1.2.0-rc`.
|
|
474
|
+
### Releasing
|
|
490
475
|
|
|
491
|
-
|
|
476
|
+
Create a release from `main`:
|
|
492
477
|
|
|
493
|
-
```
|
|
494
|
-
bin/release pre
|
|
478
|
+
```sh
|
|
479
|
+
bin/release {major|minor|patch|pre}
|
|
480
|
+
git push --follow-tags
|
|
495
481
|
```
|
|
496
482
|
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
`bin/release` uses `bump`, commits the version file, creates a `v<version>` tag, pushes the branch, and pushes the tag.
|
|
483
|
+
The release script validates the repository, bumps the version, creates a git tag.
|
|
500
484
|
|
|
501
|
-
|
|
485
|
+
Publishing to RubyGems and creating a GitHub Release are handled automatically by GitHub Actions.
|
|
502
486
|
|
|
503
487
|
|
|
504
488
|
## Contributing
|
data/lib/phi_attrs/version.rb
CHANGED