From 4449420807d0365b56752dc4458df36e8f5950f7 Mon Sep 17 00:00:00 2001 From: naumso Date: Wed, 23 Jul 2025 02:09:01 +0300 Subject: [PATCH] Update plugin.sh --- plugin.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin.sh b/plugin.sh index f0dcefa..95839a8 100755 --- a/plugin.sh +++ b/plugin.sh @@ -64,6 +64,11 @@ if [[ "${PLUGIN_SKIP_UNUSED_STAGES:-}" == "true" ]]; then SKIP_UNUSED_STAGES="--skip-unused-stages=true" fi +# full, redo, time +if [ -n "${PLUGIN_SNAPSHOT_MODE:-}" ]; then + SNAPSHOT_MODE="--snapshot-mode=${PLUGIN_SNAPSHOT_MODE}" +fi + # auto_tag, if set auto_tag: true, auto generate .tags file # support format Major.Minor.Release or start with `v` # docker tags: Major, Major.Minor, Major.Minor.Release and latest