mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2026-11-09 15:22:30 +00:00
generate-*: make sure to git add automatically on modification
This commit is contained in:
1 parent
274e476a7f
commit
5768898f37
2 files changed
+2
No files matched your search
@@ -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