mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-05-15 04:57:22 +00:00
generate-*: make sure to git add automatically on modification
This commit is contained in:
@@ -52,6 +52,7 @@ find kubernetes -name 'release.yaml' -print0 \
|
||||
if ! [ -f .github/dependabot.yml ] || ! cmp -s "$tmpfile" .github/dependabot.yml; then
|
||||
mv "$tmpfile" .github/dependabot.yml
|
||||
echo "Updated .github/dependabot.yml!"
|
||||
git add ".github/dependabot.yml"
|
||||
else
|
||||
echo "No changes to .github/dependabot.yml."
|
||||
fi
|
||||
@@ -33,6 +33,7 @@ find docker -name 'docker-compose.yml' -print0 \
|
||||
if ! [ -f .swarmcd/stacks.yaml ] || ! cmp -s "$tmpfile" .swarmcd/stacks.yaml; then
|
||||
mv "$tmpfile" .swarmcd/stacks.yaml
|
||||
echo "Updated .swarmcd/stacks.yaml!"
|
||||
git add ".swarmcd/stacks.yaml"
|
||||
else
|
||||
echo "No changes to .swarmcd/stacks.yaml."
|
||||
fi
|
||||
Reference in New Issue
Block a user