Skip to content

Commit aadd921

Browse files
authored
Merge pull request #59 from mikecabana/readme-toc
chore(readme): adds table of contents
2 parents 1f77110 + ab16a42 commit aadd921

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

README.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,44 @@ A utility for versioning using [semver](https://semver.org/) and CHANGELOG gener
1515

1616
_Having problems? Want to contribute? Join us on the [node-tooling community Slack](http://devtoolscommunity.herokuapp.com)_.
1717

18-
_How It Works:_
18+
- [Commit and Tag Version](#commit-and-tag-version)
19+
- [How It Works:](#how-it-works)
20+
- [`bumpFiles`, `packageFiles` and `updaters`](#bumpfiles-packagefiles-and-updaters)
21+
- [Gradle Support (Java/Kotlin)](#gradle-support-javakotlin)
22+
- [Installing `commit-and-tag-version`](#installing-commit-and-tag-version)
23+
- [As a local `npm run` script](#as-a-local-npm-run-script)
24+
- [As global `bin`](#as-global-bin)
25+
- [Using `npx`](#using-npx)
26+
- [Configuration](#configuration)
27+
- [Customizing CHANGELOG Generation](#customizing-changelog-generation)
28+
- [Deeper customization](#deeper-customization)
29+
- [CLI Usage](#cli-usage)
30+
- [First Release](#first-release)
31+
- [Cutting Releases](#cutting-releases)
32+
- [Release as a Pre-Release](#release-as-a-pre-release)
33+
- [Release as a Target Type Imperatively (`npm version`-like)](#release-as-a-target-type-imperatively-npm-version-like)
34+
- [Prevent Git Hooks](#prevent-git-hooks)
35+
- [Signing Commits and Tags](#signing-commits-and-tags)
36+
- [Lifecycle Scripts](#lifecycle-scripts)
37+
- [Skipping Lifecycle Steps](#skipping-lifecycle-steps)
38+
- [Committing Generated Artifacts in the Release Commit](#committing-generated-artifacts-in-the-release-commit)
39+
- [Dry Run Mode](#dry-run-mode)
40+
- [Prefix Tags](#prefix-tags)
41+
- [Tag replacement](#tag-replacement)
42+
- [Generate changelogs for old releases](#generate-changelogs-for-old-releases)
43+
- [CLI Help](#cli-help)
44+
- [Code Usage](#code-usage)
45+
- [FAQ](#faq)
46+
- [How is `commit-and-tag-version` different from `semantic-release`?](#how-is-commit-and-tag-version-different-from-semantic-release)
47+
- [Should I always squash commits when merging PRs?](#should-i-always-squash-commits-when-merging-prs)
48+
- [Can I use `commit-and-tag-version` for additional metadata files, languages or version files?](#can-i-use-commit-and-tag-version-for-additional-metadata-files-languages-or-version-files)
49+
- [Custom `updater`s](#custom-updaters)
50+
- [`readVersion(contents = string): string`](#readversioncontents--string-string)
51+
- [`writeVersion(contents = string, version: string): string`](#writeversioncontents--string-version-string-string)
52+
- [License](#license)
53+
54+
55+
### How It Works:
1956

2057
1. Follow the [Conventional Commits Specification](https://conventionalcommits.org) in your repository.
2158
2. When you're ready to release, run `commit-and-tag-version`.

0 commit comments

Comments
 (0)