mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
chore(deps): update getmeili/meilisearch docker tag to v1.10.3 (#2267)
* chore(deps): update getmeili/meilisearch docker tag to v1.10.3 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-action update-app-version
parent
415e505b42
commit
17a9a29b26
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
ENV_FILE="./.env"
|
||||
|
||||
if [[ -f $ENV_FILE ]]; then
|
||||
source "$ENV_FILE"
|
||||
if [ -z "$MEILI_NO_ANALYTICS" ] || [ "$MEILI_NO_ANALYTICS" = "" ]; then
|
||||
NEW_VALUE='"true"'
|
||||
elif [ "$MEILI_NO_ANALYTICS" = "--no-analytics" ]; then
|
||||
NEW_VALUE='"false"'
|
||||
else
|
||||
NEW_VALUE="\"$MEILI_NO_ANALYTICS\""
|
||||
fi
|
||||
sed -i "s/^MEILI_NO_ANALYTICS=.*/MEILI_NO_ANALYTICS=$NEW_VALUE/" "$ENV_FILE"
|
||||
else
|
||||
echo ".env 文件不存在"
|
||||
fi
|
||||
Reference in New Issue
Block a user