Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c0afc2

Browse files
committed
Use the exact version of the tags
1 parent2ce908d commit5c0afc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/homebridge-beta-bot.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
pattern=$(jq -r ".directories[$i].packages[$j].pattern // null" "$config")
112112
if [ "$tag" != "null" ]; then
113113
echo "::notice::Installing $pkg@$tag in $dir"
114-
npm install "$pkg@$tag" || { echo "::error::Failed to install $pkg@$tag"; exit 1; }
114+
npm install "$pkg@$tag"--save-exact|| { echo "::error::Failed to install $pkg@$tag"; exit 1; }
115115
else
116116
unescaped_pattern=$(echo "$pattern" | sed 's/\\\+/\\/g')
117117
latest_version=$(npm view "$pkg" versions --json | jq -r ".[] | select(test(\"$unescaped_pattern\"))" | sort -V | tail -n 1)
@@ -120,7 +120,7 @@ jobs:
120120
exit 1
121121
fi
122122
echo "::notice::Installing $pkg@$latest_version in $dir"
123-
npm install "$pkg@$latest_version" || { echo "::error::Failed to install $pkg@$latest_version"; exit 1; }
123+
npm install "$pkg@$latest_version"--save-exact|| { echo "::error::Failed to install $pkg@$latest_version"; exit 1; }
124124
fi
125125
done
126126
cd - > /dev/null

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp