Skip to content

Commit 169184c

Browse files
Release preparations for v7 (#394)
1 parent c471f84 commit 169184c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

entrypoint.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ _local_commit() {
176176
}
177177
178178
_tag_commit() {
179-
echo "INPUT_TAG: ${INPUT_TAG}"
179+
echo "INPUT_TAG_NAME: ${INPUT_TAG_NAME}"
180180
echo "INPUT_TAGGING_MESSAGE: ${INPUT_TAGGING_MESSAGE}"
181181
182-
if [ -n "$INPUT_TAG" ] || [ -n "$INPUT_TAGGING_MESSAGE" ]; then
183-
INTERNAL_TAG=${INPUT_TAG:-$INPUT_TAGGING_MESSAGE}
184-
INTERNAL_TAGGING_MESSAGE=${INPUT_TAGGING_MESSAGE:-$INPUT_TAG}
182+
if [ -n "$INPUT_TAG_NAME" ] || [ -n "$INPUT_TAGGING_MESSAGE" ]; then
183+
INTERNAL_TAG=${INPUT_TAG_NAME:-$INPUT_TAGGING_MESSAGE}
184+
INTERNAL_TAGGING_MESSAGE=${INPUT_TAGGING_MESSAGE:-$INPUT_TAG_NAME}
185185
186186
_log "debug" "Create tag $INTERNAL_TAG: $INTERNAL_TAGGING_MESSAGE"
187187
git -c user.name="$INPUT_COMMIT_USER_NAME" -c user.email="$INPUT_COMMIT_USER_EMAIL" tag -a "$INTERNAL_TAG" -m "$INTERNAL_TAGGING_MESSAGE"
@@ -202,8 +202,8 @@ _push_to_github() {
202202
203203
if [ -z "$INPUT_BRANCH" ]
204204
then
205-
# Only add `--tags` option, if `$INPUT_TAG` or `$INPUT_TAGGING_MESSAGE` is set
206-
if [ -n "$INPUT_TAG" ] || [ -n "$INPUT_TAGGING_MESSAGE" ]
205+
# Only add `--tags` option, if `$INPUT_TAG_NAME` or `$INPUT_TAGGING_MESSAGE` is set
206+
if [ -n "$INPUT_TAG_NAME" ] || [ -n "$INPUT_TAGGING_MESSAGE" ]
207207
then
208208
_log "debug" "git push origin --tags";
209209
git push origin --follow-tags --atomic ${INPUT_PUSH_OPTIONS:+"${INPUT_PUSH_OPTIONS_ARRAY[@]}"};

0 commit comments

Comments
 (0)