Upgraded from v3.1 -> v3.2

This commit is contained in:
jackton1 2021-04-25 00:13:01 +00:00 committed by GitHub
parent ae7cf1163a
commit 14bab64a11
2 changed files with 11 additions and 6 deletions

View File

@ -1,11 +1,13 @@
# Changelog # 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:** **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)) - 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) ## [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)) - 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)) - 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)) - 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) ## [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) [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)* \* *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 - uses: actions/checkout@v2
- name: Get branch names - name: Get branch names
id: branch-name id: branch-name
uses: tj-actions/branch-names@v3.1 uses: tj-actions/branch-names@v3.2
``` ```
## Examples ## Examples
@ -36,7 +36,7 @@ Get branch or tag information without the `/ref/*` prefix
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Get branch names - name: Get branch names
id: branch-name id: branch-name
uses: tj-actions/branch-names@v3.1 uses: tj-actions/branch-names@v3.2
- name: Running on the default branch. - name: Running on the default branch.
if: steps.branch-name.outputs.is_default == 'true' if: steps.branch-name.outputs.is_default == 'true'
@ -101,7 +101,7 @@ on:
steps: steps:
- name: Get branch names. - name: Get branch names.
id: branch-names id: branch-names
uses: tj-actions/branch-names@v3.1 uses: tj-actions/branch-names@v3.2
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
ref: ${{ steps.branch-names.outputs.base_ref_branch }} ref: ${{ steps.branch-names.outputs.base_ref_branch }}