Update entrypoint.sh

This commit is contained in:
Lior Dux 2025-03-23 22:01:31 +02:00 committed by GitHub
parent c86fa26bed
commit 4db797a961
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,8 +30,12 @@ _main() {
_check_if_git_is_available
_switch_to_repository
if _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then
if _git_tag_only; then
_log "debug" "git tag only.";
_set_github_output "git_tag_only" "true"
_tag_commit
_push_to_github
elif _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then
_set_github_output "changes_detected" "true"