Skip to content

Commit 8eb9e46

Browse files
Merge pull request #87 from modeseven-os-climate/update-tooling
Chore: Fix broken devops process
2 parents 224eb6d + ba6e94e commit 8eb9e46

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/bootstrap.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,10 @@ jobs:
9191
# Only updates file if it has changed
9292
selective_file_copy() {
9393
# Receives a single file path as argument
94-
SHA_SRC=$(sha1sum "$DEVOPS_DIR"/"$1" | awk '{print $1}')
95-
SHA_DST=$(sha1sum "$1" 2>/dev/null | awk '{print $1}' || :)
96-
if [ "$SHA_SRC" != "$SHA_DST" ]; then
94+
# SHA_SRC=$(sha1sum "$DEVOPS_DIR/$1" | awk '{print $1}')
95+
# SHA_DST=$(sha1sum "$1" 2>/dev/null | awk '{print $1}' || :)
96+
# if [ "$SHA_SRC" != "$SHA_DST" ]; then
97+
if ! (cmp "$DEVOPS_DIR/$1" "$1"); then
9798
echo "Copying: $1"
9899
cp "$DEVOPS_DIR/$1" "$1"
99100
git add "$1"

0 commit comments

Comments
 (0)