mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 06:33:17 +08:00
feat: Add print_info for tag options
This commit is contained in:
parent
58f69047b6
commit
0f98ab44f5
@ -143,7 +143,9 @@ else
|
||||
fi
|
||||
|
||||
if [[ -n "${INPUT_TAGNAME}" ]]; then
|
||||
print_info "Tag name: ${INPUT_TAGNAME}"
|
||||
if [[ -n "${INPUT_TAGMESSAGE}" ]]; then
|
||||
print_info "Tag message: ${INPUT_TAGMESSAGE}"
|
||||
git tag "${INPUT_TAGNAME}" -m "${INPUT_TAGMESSAGE}"
|
||||
else
|
||||
git tag "${INPUT_TAGNAME}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user