Skip to content

Commit

Permalink
Merge pull request #79 from loarca/main
Browse files Browse the repository at this point in the history
Update 'current_branch' output to strip tag prefix
  • Loading branch information
jackton1 committed Aug 23, 2021
2 parents 2840c25 + 5ced4fd commit f3dbd2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ runs:
fi
else
REF=${{ github.ref }}
REF_BRANCH=${REF/refs\/tags\//}
REF_BRANCH=${REF/refs\/tags\/${{ inputs.strip_tag_prefix }}/}
echo "::set-output name=current_branch::$REF_BRANCH"
fi
shell: bash
Expand Down

0 comments on commit f3dbd2f

Please sign in to comment.