Skip to content

Commit

Permalink
Convert 'Github' to 'GitHub'
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Jan 2, 2019
1 parent e4c1fc9 commit 7293717
Show file tree
Hide file tree
Showing 28 changed files with 137 additions and 137 deletions.
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Individuals or teams representing projects in official capacity, such as via off

## Attribution

This Code of Conduct is partly inspired by and based on those of Amazon, CocoaPods, Github, Microsoft, thoughtbot, and on the Contributor Covenant version 1.4.1.
This Code of Conduct is partly inspired by and based on those of Amazon, CocoaPods, GitHub, Microsoft, thoughtbot, and on the Contributor Covenant version 1.4.1.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Release Features:
- Release every merge to master based on a PR labels
- Skip a release with the `skip-release` label
- Generate a changelog with fancy headers, authors, and monorepo package association
- Generate a Github release
- Generate a GitHub release

Pull Request Interaction Features:

Expand Down
2 changes: 1 addition & 1 deletion docs/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# auto release

## CLI tools to help facilitate semantic versioning based on Github PR labels.
## CLI tools to help facilitate semantic versioning based on GitHub PR labels.

:::

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-init.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-label.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-pr-check.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-shipit.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/auto-version.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Global Options
-w, --very-verbose Show a lot more logs
--repo string The repo to set the status on. Defaults to looking in the package.json
--owner string Version number to publish as. Defaults to reading from the package.json
--githubApi string Github API to use
--githubApi string GitHub API to use

Examples

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ After that, you need to set up the labels on your github project. The types of l
- Versioning Labels - used to calculate version numbers and make releases. To change them refer to [this](./autorc.md#versioning-labels).
- Changelog Labels - These labels do not effect the version calculation but they will change the section the PR displays in the changelog. These are customizable too, and you can even add your own sections. Read more [here](./autorc.md#changelog-titles)

To create the labels for your project on Github, run the following command with your `GH_TOKEN`.
To create the labels for your project on GitHub, run the following command with your `GH_TOKEN`.

```sh
GH_TOKEN=YOUR_TOKEN auto create-labels
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Release Features:
- Release every merge to master based on a PR labels
- Skip a release with the `skip-release` label
- Generate a changelog with fancy headers, authors, and monorepo package association
- Generate a Github release
- Generate a GitHub release

Pull Request Interaction Features:

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mkdir ~/.ssh/ && echo -e "Host github.YOUR_COMPANY.com\n\tStrictHostKeyChecking

If you've encountered any of these errors you'll probably run into this problem. If the whole release process doesn't complete you can end up in a state when `auto` published the new version, but doesn't push that back to github. To fix this just bump the version number to the "previously published version".

## Cannot read owner and package name from Github URL in package.json
## Cannot read owner and package name from GitHub URL in package.json

This means that you do not have a repository set in your package.json. Add something along the line of:

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auto-release-cli",
"description": "CLI tools to help facilitate semantic versioning based on Github PR labels.",
"description": "CLI tools to help facilitate semantic versioning based on GitHub PR labels.",
"version": "0.37.1",
"author": {
"name": "Andrew Lisowski",
Expand Down
4 changes: 2 additions & 2 deletions src/__tests__/__snapshots__/github-release.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`GithubRelease generateReleaseNotes should allow user to configure section headings 1`] = `
exports[`GitHubRelease generateReleaseNotes should allow user to configure section headings 1`] = `
"#### 💥 Breaking Change
- First [#1234](https://custom-git.com/pull/1234) ([email protected])
Expand All @@ -22,7 +22,7 @@ exports[`GithubRelease generateReleaseNotes should allow user to configure secti
- Adam Dierkens ([email protected])"
`;

exports[`GithubRelease getCommits should resolve authors with PR commits 1`] = `
exports[`GitHubRelease getCommits should resolve authors with PR commits 1`] = `
Array [
Object {
"authorEmail": "[email protected]",
Expand Down
8 changes: 4 additions & 4 deletions src/__tests__/git-changed-packages.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Github from '../git';
import GitHub from '../git';
import { dummyLog } from '../utils/logger';

const exec = jest.fn();
Expand All @@ -10,7 +10,7 @@ jest.mock('../utils/exec-promise.ts', () => (...args) => exec(...args));

describe('changedPackages ', async () => {
test('should return nothing without a package directory', async () => {
const gh = new Github({
const gh = new GitHub({
logger,
owner: 'Adam Dierkens',
repo: 'test',
Expand All @@ -23,7 +23,7 @@ describe('changedPackages ', async () => {
});

test('should match files in package directory', async () => {
const gh = new Github({
const gh = new GitHub({
logger,
owner: 'Adam Dierkens',
repo: 'test',
Expand All @@ -38,7 +38,7 @@ describe('changedPackages ', async () => {
});

test('should match files in package directory with @scope/ names', async () => {
const gh = new Github({
const gh = new GitHub({
logger,
owner: 'Adam Dierkens',
repo: 'test',
Expand Down
Loading

0 comments on commit 7293717

Please sign in to comment.