Skip to content

Commit

Permalink
doc: Update README.md #338
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 10, 2024
1 parent 7f9057a commit 58491e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Auto create tags from commit or package.json
- `versionNumber` The version number of the tag created, example: `1.0.0`.
- `preversion` The previous tag version number, example: `v1.0.0`.
- `preversionNumber` The previous tag version number of the tag created. example: `1.0.0`.
- `successful` The tag was successfully created.
- `successful` The tag was successfully created. example: `"true"`.
- `majorVersion` MAJOR version when you make incompatible API changes.
- `minorVersion` MINOR version when you add functionality in a backwards compatible manner, and.
- `patchVersion` PATCH version when you make backwards compatible bug fixes.
Expand Down Expand Up @@ -85,7 +85,7 @@ Use `steps.<job_id>.outputs.successful` to determine whether the version is crea
- name: Generate Changelog
id: changelog
uses: jaywcjlove/changelog-generator@main
if: steps.create_tag.outputs.successful
if: steps.create_tag.outputs.successful == 'true'
with:
head-ref: ${{steps.create_tag.outputs.version}}
filter-author: (jaywcjlove|小弟调调™|dependabot\[bot\]|Renovate Bot)
Expand All @@ -97,7 +97,7 @@ Use `steps.<job_id>.outputs.successful` to determine whether the version is crea
```yml
- name: Create Release
uses: ncipollo/release-action@v1
if: steps.create_tag.outputs.successful
if: steps.create_tag.outputs.successful == 'true'
with:
token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ steps.create_tag.outputs.version }}
Expand All @@ -116,7 +116,7 @@ OR use `jaywcjlove/create-tag-action@main`:
```yml
- name: Generate Changelog
uses: jaywcjlove/create-tag-action@main
if: steps.create_tag.outputs.successful
if: steps.create_tag.outputs.successful == 'true'
with:
version: ${{steps.create_tag.outputs.version}}
release: true
Expand Down

0 comments on commit 58491e1

Please sign in to comment.