Skip to content

Commit

Permalink
release: v9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EndBug committed Mar 11, 2022
1 parent 7fbfbfa commit 050a667
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 11 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [9.0.0] - 2022-03-11

### Changed:

- **[BREAKING]** The action will now fail when the `git commit` command fails. (#370)
- **[BREAKING]** The action won't try deleting and re-creting tags when it fails to push them, it's now up to you to set the proper arguments (see the `tag_push` input). (#367)

### Added:

- `tag_push` input: you can now set the arguments of the `git push --tags` command.
- `tag_pushed` output: whether the action pushed tags.

## [8.0.2] - 2022-02-07

### Fixed:
Expand Down Expand Up @@ -305,7 +317,7 @@ First release

#

[unreleased]: https://github.com/EndBug/add-and-commit/compare/v8.0.2...HEAD
[unreleased]: https://github.com/EndBug/add-and-commit/compare/v9.0.0...HEAD
[1.0.0]: https://github.com/EndBug/add-and-commit/tree/v1.0.0
[2.0.0]: https://github.com/EndBug/add-and-commit/compare/v1.0.0...v2.0.0
[2.1.0]: https://github.com/EndBug/add-and-commit/compare/v2.0.0...v2.1.0
Expand Down Expand Up @@ -346,3 +358,4 @@ First release
[8.0.0]: https://github.com/EndBug/add-and-commit/compare/v7.5.0...v8.0.0
[8.0.1]: https://github.com/EndBug/add-and-commit/compare/v8.0.0...v8.0.1
[8.0.2]: https://github.com/EndBug/add-and-commit/compare/v8.0.1...v8.0.2
[9.0.0]: https://github.com/EndBug/add-and-commit/compare/v8.0.2...v9.0.0
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -17,7 +17,7 @@ You can use this GitHub Action to commit changes made in your workflow run direc
Add a step like this to your workflow:

```yaml
- uses: EndBug/add-and-commit@v8 # You can change this to use a specific version.
- uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
with:
# The arguments for the `git add` command (see the paragraph below for more info)
# Default: '.'
Expand Down Expand Up @@ -214,7 +214,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: EndBug/add-and-commit@v8
- uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
```
Expand All @@ -224,7 +224,7 @@ You can also use the `committer_name` and `committer_email` inputs to make it ap
<img src="https://user-images.githubusercontent.com/26386270/130594168-1d910710-e2d0-4b06-9324-cbe5dde59154.png" height=70/>

```yaml
- uses: EndBug/add-and-commit@v8
- uses: EndBug/add-and-commit@v9
with:
message: Show GitHub Actions logo
committer_name: GitHub Actions
Expand All @@ -234,7 +234,7 @@ You can also use the `committer_name` and `committer_email` inputs to make it ap
<img src="https://user-images.githubusercontent.com/26386270/130594443-b881fae7-3064-4020-a4cc-6db37ef0df65.png" height=70/>

```yaml
- uses: EndBug/add-and-commit@v8
- uses: EndBug/add-and-commit@v9
with:
message: Show GitHub logo
committer_name: GitHub Actions
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
run: eslint "src/**" --fix

- name: Commit changes
uses: EndBug/add-and-commit@v8
uses: EndBug/add-and-commit@v9
with:
author_name: Your Name
author_email: mail@example.com
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
- run: echo "123" > ./pathToRepo/file.txt

# ...and then use the action as you would normally do, but providing the path to the repo
- uses: EndBug/add-and-commit@v8
- uses: EndBug/add-and-commit@v9
with:
message: 'Add the very useful text file'
add: '*.txt --force'
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "add-and-commit",
"version": "8.0.2",
"version": "9.0.0",
"private": true,
"description": "Add & commit files from a path directly from GitHub Actions",
"main": "lib/index.js",
Expand Down

0 comments on commit 050a667

Please sign in to comment.