Skip to content

Commit

Permalink
Merge pull request #162 from TriPSs/improvements
Browse files Browse the repository at this point in the history
Improvements
  • Loading branch information
TriPSs committed May 27, 2022
2 parents 1285d17 + d913b1c commit a9b9c4d
Show file tree
Hide file tree
Showing 2,960 changed files with 1,788 additions and 281,981 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
uses: ./
with:
github-token: ${{ secrets.github_token }}
create-summary: true

- name: Create Release
uses: actions/create-release@v1
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# Editors
.vscode
.idea

# Logs
logs
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ This action will bump version, tag commit and generate a changelog with conventi
- **Optional** `fallback-version`: The fallback version, if no older one can be detected, or if it is the first one. Default `'0.1.0'`
- **Optional** `config-file-path`: Path to the conventional changelog config file. If set, the preset setting will be ignored
- **Optional** `pre-changelog-generation`: Path to the pre-changelog-generation script file. No hook by default.
- **Optional** `skip-ci`: Adds instruction to github to not consider the push something to rebuild. Default `true`.
- **Optional** `skip-ci`: Adds instruction to Github to not consider the push something to rebuild. Default `true`.
- **Optional** `create-summary`: Adds the generated changelog as Action Summary. Default `false`.

### Pre-Commit hook

> Function in a specified file will be run right before the git-add-git-commit phase, when the next
> version is already known and a new changelog has been generated. You can run any chores across your
> repository that should be added and commited with the release commit.
> repository that should be added and committed with the release commit.
Specified path could be relative or absolute. If it is relative, then it will be based on the `GITHUB_WORKSPACE` path.

Expand Down
5 changes: 5 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ inputs:
default: 'true'
required: false

create-summary:
description: 'Adds the generated changelog as Action Summary'
default: 'false'
required: false

outputs:
changelog:
description: 'The generated changelog for the new version'
Expand Down
1 change: 0 additions & 1 deletion node_modules/.bin/JSONStream

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/conventional-changelog-writer

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/conventional-commits-parser

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/conventional-recommended-bump

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/get-pkg-repo

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/git-raw-commits

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/git-semver-tags

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/handlebars

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/semver

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/uglifyjs

This file was deleted.

0 comments on commit a9b9c4d

Please sign in to comment.