Skip to content

fixed small errors #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The pull requests need to have a `changelog` label applied to them.
If the option `--prev-version` is omitted PRacticle finds all PR:s in
the semver minor version and generates a complete changelog for all versions in that range.

I.e. if `--next-version=3.2.5` is used, the output will include all changes from `3.2.0` to the upoming `3.2.5` release. They are grouped by version.
I.e. if `--next-version=3.2.5` is used, the output will include all changes from `3.2.0` to the upcoming `3.2.5` release. They are grouped by version.

Versions are generated from git tags that has the format `x.y.z`.

Expand Down Expand Up @@ -52,7 +52,7 @@ Options:
- If used as a flag then the changelog
is generated from the previous semver
tag.
- If ommitted then the semver
- If omitted then the semver
major.minor version is used to
generate changelogs over that range

Expand Down
6 changes: 3 additions & 3 deletions src/helpers/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import yargs from "yargs";
import { init as generateChangelog } from "./../generateChangelog";
import { init as draftReleaseToGithub } from "../draftReleaseToGithub";
import { init as releaseToGithub } from "../releaseToGithub";
import { init as relaseNotesFromGithub } from "../relaseNotesFromGithub";
import { init as releaseNotesFromGithub } from "../releaseNotesFromGithub";

import { isValidSemVer } from "./utils";

Expand Down Expand Up @@ -30,7 +30,7 @@ export const setUpCli = () =>
"fetch-release-notes",
"Fetch release notes from Github",
commandLineSetUpFetch,
relaseNotesFromGithub
releaseNotesFromGithub
)
.demandCommand().argv;

Expand Down Expand Up @@ -68,7 +68,7 @@ const commandLineSetUp = y =>
describe: `The prev version to generate the changelog from.
- If arg is a valid Semver string (x.x.x) then the changelog will generate notes from the tag
- If used as a flag then the changelog is generated from the previous semver tag.
- If ommitted then the semver major.minor version is used to generate changelogs over that range
- If omitted then the semver major.minor version is used to generate changelogs over that range
`
},
"release-tag-filter": {
Expand Down
File renamed without changes.