Skip to content

Commit a366673

Browse files
committed
infra: add fix:refcache to version-in-file.sh (workflow: auto-update-versions.yml)
Signed-off-by: Vitor Vasconcellos <[email protected]>
1 parent 95cd570 commit a366673

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/auto-update/version-in-file.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
GH=gh
66
GIT=git
7+
NPM=npm
78

89
if [[ -n "$GITHUB_ACTIONS" ]]; then
910
# Ensure that we're starting from a clean state
@@ -113,6 +114,10 @@ fi
113114

114115
$GIT checkout -b "$branch"
115116
$GIT commit -a -m "$message"
117+
118+
$NPM run fix:refcache
119+
$GIT commit -a -m "Fix refcache"
120+
116121
$GIT push --set-upstream origin "$branch"
117122

118123
echo "Submitting auto-update PR '$message'."

0 commit comments

Comments
 (0)