Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Aug 26, 2021
1 parent a439502 commit d2fb4ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Get branch or tag information without the `/ref/*` prefix


## Features
- Retrieve the current branch name without any prefix. (e.g. 'refs/heads/main' -> 'main')
- Retrieve the current tag with an option to strip the "v" prefix (e.g. 'refs/tags/v1.0.0' -> 'v1.0.0' OR '1.0.0')
- Retrieve the current branch name without any prefix. (e.g. `'refs/heads/main'` -> `'main'`)
- Retrieve the current tag with an option to strip the "v" prefix (e.g. `'refs/tags/v1.0.0'` -> `'v1.0.0'` OR `'1.0.0'`)
- Detect actions triggered by non default branches
- Detect actions triggered by the default branch

Expand Down

0 comments on commit d2fb4ca

Please sign in to comment.