Skip to content

Commit 8b902b2

Browse files
Chore: Fix broken devops process
Signed-off-by: Matthew Watkins <[email protected]>
1 parent d9842d2 commit 8b902b2

File tree

2 files changed

+4
-38
lines changed

2 files changed

+4
-38
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"

tox.ini.previous

-35
This file was deleted.

0 commit comments

Comments
 (0)