Skip to content

Commit 254f801

Browse files
committed
build: add SHA files back
- we need the SHA files on install.sh Signed-off-by: Vicente Cheng <[email protected]>
1 parent d3da0f6 commit 254f801

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

.github/workflows/build.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121

22-
# Build binaries
22+
# Build binaries and SHA files
2323
- name: Run dapper ci
2424
run: dapper ci
2525

@@ -30,3 +30,5 @@ jobs:
3030
files: |
3131
dist/artifacts/rancherd-amd64
3232
dist/artifacts/rancherd-arm64
33+
dist/artifacts/sha256sum-amd64.txt
34+
dist/artifacts/sha256sum-arm64.txt

scripts/build-sha-file

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
set -e
3+
4+
source $(dirname $0)/version
5+
6+
cd $(dirname $0)/..
7+
8+
mkdir -p dist/artifacts/
9+
pushd bin/
10+
sha256sum rancherd-amd64 > ../dist/artifacts/sha256sum-amd64.txt
11+
sha256sum rancherd-arm64 > ../dist/artifacts/sha256sum-arm64.txt
12+
popd

scripts/ci

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ cd $(dirname $0)
77
./test
88
./validate
99
./package
10+
./build-sha-file

0 commit comments

Comments
 (0)