diff --git a/git-hangman-lab/scripts/publish-package b/git-hangman-lab/scripts/publish-package index 4e6838e..387872c 100755 --- a/git-hangman-lab/scripts/publish-package +++ b/git-hangman-lab/scripts/publish-package @@ -71,7 +71,7 @@ do_docker() { LOCKFILE="$HOME/.openclaw/.docker" lock-mgr acquire "$LOCKFILE" "$KEY" - trap 'lock-mgr release "$LOCKFILE" "$KEY" 2>/dev/null || true; docker logout "$REGISTRY" 2>/dev/null || true' EXIT + trap 'docker logout "$REGISTRY" 2>/dev/null || true; lock-mgr release "$LOCKFILE" "$KEY" 2>/dev/null || true' EXIT echo "Logging in to $REGISTRY..." docker login "$REGISTRY" -u "$OWNER" -p "$(secret-mgr get-secret --key git)" 2>/dev/null