mirror of
https://github.com/home-assistant/addons.git
synced 2025-07-20 16:57:09 +00:00
* Fix using wrong log level from bashio. Fixes #3917 * Add changelog and bump version
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 8.0.1
|
||||
- Fix bashio warn(ing) logger usage breaking deployment keys
|
||||
|
||||
## 8.0.0
|
||||
- Refactor git_pull to use HA Api with bashio
|
||||
- Update base image to Alpine 3.21
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
version: 8.0.0
|
||||
version: 8.0.1
|
||||
slug: git_pull
|
||||
name: Git pull
|
||||
description: Simple git pull to update the local configuration
|
||||
|
@ -72,7 +72,7 @@ if [ -n "$DEPLOYMENT_KEY" ]; then
|
||||
if OUTPUT_CHECK=$(ssh -T -o "StrictHostKeyChecking=no" -o "BatchMode=yes" "$DOMAIN" 2>&1) || { [[ $DOMAIN = *"@github.com"* ]] && [[ $OUTPUT_CHECK = *"You've successfully authenticated"* ]]; }; then
|
||||
bashio::log.info "[Info] Valid SSH connection for $DOMAIN"
|
||||
else
|
||||
bashio::log.warn "[Warn] No valid SSH connection for $DOMAIN"
|
||||
bashio::log.warning "[Warn] No valid SSH connection for $DOMAIN"
|
||||
add-ssh-key
|
||||
fi
|
||||
fi
|
||||
@ -118,7 +118,7 @@ fi
|
||||
function git-synchronize {
|
||||
# is /config a local git repo?
|
||||
if ! git rev-parse --is-inside-work-tree &>/dev/null; then
|
||||
bashio::log.warn "[Warn] Git repository doesn't exist"
|
||||
bashio::log.warning "[Warn] Git repository doesn't exist"
|
||||
git-clone
|
||||
return
|
||||
fi
|
||||
|
Reference in New Issue
Block a user