-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: update and enhancement + prepare new version
- Loading branch information
Showing
22 changed files
with
175 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ GIT | |
PATH | ||
remote: . | ||
specs: | ||
pass-station (1.4.0) | ||
pass-station (2.0.0) | ||
docopt (~> 0.6) | ||
paint (~> 2.3) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,49 @@ | ||
# Publishing | ||
|
||
## On Rubygems.org | ||
Change version in `lib/pass_station/version.rb`. | ||
|
||
```plaintext | ||
$ git tag -a vx.x.x | ||
$ git push --follow-tags | ||
$ gem push pass-station-x.x.x.gem | ||
Be sure all tests pass! | ||
|
||
```bash | ||
bundle exec rake test | ||
``` | ||
|
||
See https://guides.rubygems.org/publishing/. | ||
Ensure there is no linting offence. | ||
|
||
```bash | ||
bundle exec rubocop | ||
``` | ||
|
||
On new release don't forget to rebuild the library documentation: | ||
Check if new upstream data is available. | ||
|
||
```plaintext | ||
$ bundle exec yard doc | ||
```bash | ||
pass-station update --check | ||
``` | ||
|
||
And to be sure all tests pass! | ||
If so, update data: | ||
|
||
```plaintext | ||
$ rake | ||
```bash | ||
pass-station update --force data/ | ||
``` | ||
|
||
## On BlackArch | ||
And reflect the integrity hash in `PassStation::DB::UPSTREAM_DATABASE` in `lib/pass_station/source.rb`. | ||
|
||
BA process | ||
```bash | ||
sha256sum data/*.csv | ||
``` | ||
|
||
On new release don't forget to rebuild the library documentation: | ||
Don't forget to rebuild the library documentation to reflect, new code, new version, etc.: | ||
|
||
```plaintext | ||
$ bundle exec yard doc | ||
```bash | ||
bundle exec yard doc | ||
``` | ||
|
||
And to be sure all tests pass! | ||
```bash | ||
git tag -a vx.x.x | ||
git push --follow-tags | ||
|
||
```plaintext | ||
$ rake | ||
bundle exec rake build | ||
gem push pkg/pass-station-x.x.x.gem | ||
``` | ||
|
||
See https://guides.rubygems.org/publishing/. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.