Skip to content

Commit

Permalink
💄 Update releaseTypeText 'Patch' to 'Fix', and Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nkmr-jp committed Oct 31, 2020
1 parent 6e0dcbe commit e1d0488
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
- [Step 2: Add `release.yml` to `.github/workflows/`](#step-2-add-releaseyml-to-githubworkflows)
- [Step 3: Commit and Push](#step-3-commit-and-push)
- [If you want to run locally](#if-you-want-to-run-locally)
- [Reference](#reference)
- [References](#references)
- [Author](#author)
- [Show your support](#show-your-support)

Expand All @@ -36,7 +36,6 @@
## Features
- :smile: A simple script to add the semver field to [gitmojis.json](https://github.com/carloscuesta/gitmoji/blob/master/src/data/gitmojis.json).
- Generate the files `gitmojis.json` with the semver field added.
- I referred to this issue. ( [Add a "semver" field for each emoji #429](https://github.com/carloscuesta/gitmoji/issues/429) )
- :rocket: You can easily do Semver Release automatically by just committing with gitmoji. ( [like this](https://github.com/nkmr-jp/gitmoji-semver/releases) )
- Automate versioning and release with GithubActions and [semantic-release](https://github.com/semantic-release/semantic-release).

Expand Down Expand Up @@ -167,16 +166,14 @@ brew install act
act -P ubuntu-18.04=nektos/act-environments-ubuntu:18.04 # ※ 16GB docker image
```

## Reference

If you want to customize, please refer to the following document.
## References

- [Add a "semver" field for each emoji #429](https://github.com/carloscuesta/gitmoji/issues/429)
- [gitmoji | An emoji guide for your commit messages](https://gitmoji.carloscuesta.me/)
- [GitHub - semantic-release/semantic-release](https://github.com/semantic-release/semantic-release)
- [GitHub - momocow/semantic-release-gitmoji](https://github.com/momocow/semantic-release-gitmoji)
- [gitmoji | An emoji guide for your commit messages](https://gitmoji.carloscuesta.me/)
- [Semantic Versioning 2.0.0 | Semantic Versioning](https://semver.org/)
- [Introduction to SemVer](https://blog.greenkeeper.io/introduction-to-semver-d272990c44f2)
- [Add a "semver" field for each emoji #429](https://github.com/carloscuesta/gitmoji/issues/429)

## Author

Expand Down
2 changes: 1 addition & 1 deletion semantic-release-template/.releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const releaseNotes = {
return "Feature Release!"
}
if (type === 'patch'){
return "Patch Release"
return "Fix Release"
}
},
releaseTypeEmoji: function (type) {
Expand Down
11 changes: 8 additions & 3 deletions semantic-release-template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@

Generated by https://github.com/nkmr-jp/gitmoji-semver

## Usage

# Usage

## Check next release
```sh
npm install
npx semantic-release
```

## See

If you want to customize, please refer to the following document.

- [GitHub - semantic-release/semantic-release](https://github.com/semantic-release/semantic-release)
- [GitHub - momocow/semantic-release-gitmoji](https://github.com/momocow/semantic-release-gitmoji)

0 comments on commit e1d0488

Please sign in to comment.