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