mirror of
https://github.com/tj-actions/branch-names.git
synced 2024-11-23 14:53:50 +08:00
Upgraded from v4.1 -> v4.2
This commit is contained in:
parent
f107226331
commit
58eb8e87cf
14
HISTORY.md
14
HISTORY.md
@ -1,5 +1,19 @@
|
||||
# Changelog
|
||||
|
||||
## [v4.2](https://github.com/tj-actions/branch-names/tree/v4.2) (2021-05-25)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v4.1...v4.2)
|
||||
|
||||
**Fixed bugs:**
|
||||
|
||||
- \[BUG\] No current\_branch on release. [\#50](https://github.com/tj-actions/branch-names/issues/50)
|
||||
|
||||
**Merged pull requests:**
|
||||
|
||||
- Added test for current\_branch on release actions [\#52](https://github.com/tj-actions/branch-names/pull/52) ([jackton1](https://github.com/jackton1))
|
||||
- Set the current\_branch for release actions [\#51](https://github.com/tj-actions/branch-names/pull/51) ([jackton1](https://github.com/jackton1))
|
||||
- Upgraded to v4.1 [\#49](https://github.com/tj-actions/branch-names/pull/49) ([jackton1](https://github.com/jackton1))
|
||||
|
||||
## [v4.1](https://github.com/tj-actions/branch-names/tree/v4.1) (2021-05-24)
|
||||
|
||||
[Full Changelog](https://github.com/tj-actions/branch-names/compare/v4...v4.1)
|
||||
|
@ -31,7 +31,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@v4.1
|
||||
uses: tj-actions/branch-names@v4.2
|
||||
```
|
||||
|
||||
## Examples
|
||||
@ -42,7 +42,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@v4.1
|
||||
uses: tj-actions/branch-names@v4.2
|
||||
|
||||
- name: Running on the default branch.
|
||||
if: steps.branch-name.outputs.is_default == 'true'
|
||||
@ -107,7 +107,7 @@ on:
|
||||
steps:
|
||||
- name: Get branch names.
|
||||
id: branch-names
|
||||
uses: tj-actions/branch-names@v4.1
|
||||
uses: tj-actions/branch-names@v4.2
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ steps.branch-names.outputs.base_ref_branch }}
|
||||
|
Loading…
Reference in New Issue
Block a user