Skip to content

Commit fc01c42

Browse files
committed
Update workflow
1 parent 4760a2d commit fc01c42

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/update-library-refs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,18 @@ jobs:
2020
- name: Update Library Reference
2121
run: |
2222
set -e
23+
echo "Checking git version....."
24+
git --version
25+
2326
COMMIT_HASH = $(git rev-parse HEAD)
27+
echo "Current commit hash: $COMMIT_HASH"
28+
2429
git fetch origin main
2530
git worktree add ../main origin/main
2631
cd ../main
2732
33+
echo "Files to patch SHA:"
34+
find ./f95 ./lc -type f
2835
find ./f95 ./lc -type f -exec sed -i -E "s/[a-f0-9]{40}/$COMMIT_HASH/g" {} +
2936
3037
- name: Bump @version patch

0 commit comments

Comments
 (0)