Merge pull request #26 from tj-actions/upgrade-to-v3.2

Upgraded to v3.2
This commit is contained in:
Tonye Jack 2021-04-24 20:28:43 -04:00 committed by GitHub
commit 8ea77410ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 6 deletions

View File

@ -1,11 +1,13 @@
# Changelog
## [Unreleased](https://github.com/tj-actions/branch-names/tree/HEAD)
## [v3.2](https://github.com/tj-actions/branch-names/tree/v3.2) (2021-04-25)
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v3.1...HEAD)
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v3.1...v3.2)
**Merged pull requests:**
- Added support for stripping tag prefix [\#25](https://github.com/tj-actions/branch-names/pull/25) ([jackton1](https://github.com/jackton1))
- Upgraded to v3.1 [\#24](https://github.com/tj-actions/branch-names/pull/24) ([jackton1](https://github.com/jackton1))
- Upgraded to v3 [\#22](https://github.com/tj-actions/branch-names/pull/22) ([jackton1](https://github.com/jackton1))
## [v3.1](https://github.com/tj-actions/branch-names/tree/v3.1) (2021-04-24)
@ -43,7 +45,6 @@
- Added support for detecting the default branch [\#11](https://github.com/tj-actions/branch-names/pull/11) ([jackton1](https://github.com/jackton1))
- Update README.md [\#9](https://github.com/tj-actions/branch-names/pull/9) ([jackton1](https://github.com/jackton1))
- Upgraded to v2.1 [\#8](https://github.com/tj-actions/branch-names/pull/8) ([jackton1](https://github.com/jackton1))
- Update README.md [\#1](https://github.com/tj-actions/branch-names/pull/1) ([jackton1](https://github.com/jackton1))
## [v2.1](https://github.com/tj-actions/branch-names/tree/v2.1) (2021-02-08)
@ -78,6 +79,10 @@
[Full Changelog](https://github.com/tj-actions/branch-names/compare/c5308c6d98ef23ee7f672f6fc3aa92acd7ad611d...v1)
**Merged pull requests:**
- Update README.md [\#1](https://github.com/tj-actions/branch-names/pull/1) ([jackton1](https://github.com/jackton1))
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

View File

@ -25,7 +25,7 @@ Get branch or tag information without the `/ref/*` prefix
- uses: actions/checkout@v2
- name: Get branch names
id: branch-name
uses: tj-actions/branch-names@v3.1
uses: tj-actions/branch-names@v3.2
```
## Examples
@ -36,7 +36,7 @@ Get branch or tag information without the `/ref/*` prefix
- uses: actions/checkout@v2
- name: Get branch names
id: branch-name
uses: tj-actions/branch-names@v3.1
uses: tj-actions/branch-names@v3.2
- name: Running on the default branch.
if: steps.branch-name.outputs.is_default == 'true'
@ -101,7 +101,7 @@ on:
steps:
- name: Get branch names.
id: branch-names
uses: tj-actions/branch-names@v3.1
uses: tj-actions/branch-names@v3.2
- uses: actions/checkout@v2
with:
ref: ${{ steps.branch-names.outputs.base_ref_branch }}