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

Commitb1534fb

Browse files
committed
add warning to scripts/update-flake.sh
1 parent1cae989 commitb1534fb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎scripts/update-flake.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33

44
set -eu
55

6+
# CI only checks the hash on linux/amd64. If you run it in any other os/arch
7+
# then the hash won't match.
8+
if [[$(go env GOARCH)!="amd64" ]]|| [[$(go env GOOS)!="linux" ]];then
9+
echo"WARNING: This script should only be run on a linux/amd64 machine!"
10+
fi
11+
612
cd"$(dirname"${BASH_SOURCE[0]}")/.."
713

814
OUT=$(mktemp -d -t nar-hash-XXXXXX)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp