release: v9.0.0

This commit is contained in:
Federico Grandi
2022-03-11 22:59:13 +01:00
parent 7fbfbfa278
commit 050a667872
5 changed files with 24 additions and 11 deletions

View File

@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [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 ## [8.0.2] - 2022-02-07
### Fixed: ### Fixed:
@@ -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 [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.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 [2.1.0]: https://github.com/EndBug/add-and-commit/compare/v2.0.0...v2.1.0
@@ -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.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.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 [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

View File

@@ -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: Add a step like this to your workflow:
```yaml ```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: with:
# The arguments for the `git add` command (see the paragraph below for more info) # The arguments for the `git add` command (see the paragraph below for more info)
# Default: '.' # Default: '.'
@@ -214,7 +214,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: EndBug/add-and-commit@v8 - uses: EndBug/add-and-commit@v9
with: with:
default_author: github_actions default_author: github_actions
``` ```
@@ -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/> <img src="https://user-images.githubusercontent.com/26386270/130594168-1d910710-e2d0-4b06-9324-cbe5dde59154.png" height=70/>
```yaml ```yaml
- uses: EndBug/add-and-commit@v8 - uses: EndBug/add-and-commit@v9
with: with:
message: Show GitHub Actions logo message: Show GitHub Actions logo
committer_name: GitHub Actions committer_name: GitHub Actions
@@ -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/> <img src="https://user-images.githubusercontent.com/26386270/130594443-b881fae7-3064-4020-a4cc-6db37ef0df65.png" height=70/>
```yaml ```yaml
- uses: EndBug/add-and-commit@v8 - uses: EndBug/add-and-commit@v9
with: with:
message: Show GitHub logo message: Show GitHub logo
committer_name: GitHub Actions committer_name: GitHub Actions
@@ -269,7 +269,7 @@ jobs:
run: eslint "src/**" --fix run: eslint "src/**" --fix
- name: Commit changes - name: Commit changes
uses: EndBug/add-and-commit@v8 uses: EndBug/add-and-commit@v9
with: with:
author_name: Your Name author_name: Your Name
author_email: mail@example.com author_email: mail@example.com
@@ -300,7 +300,7 @@ jobs:
- run: echo "123" > ./pathToRepo/file.txt - run: echo "123" > ./pathToRepo/file.txt
# ...and then use the action as you would normally do, but providing the path to the repo # ...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: with:
message: 'Add the very useful text file' message: 'Add the very useful text file'
add: '*.txt --force' add: '*.txt --force'

2
lib/index.js generated

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "add-and-commit", "name": "add-and-commit",
"version": "8.0.2", "version": "9.0.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "add-and-commit", "name": "add-and-commit",
"version": "8.0.2", "version": "9.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/core": "^1.6.0", "@actions/core": "^1.6.0",

View File

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