Skip to content

Commit 831663a

Browse files
authored
Single binary release (#3966)
* use the nimbus binary * fix local build issue -a * single binary release process * fix copyright year
1 parent 301ba1b commit 831663a

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nimbus
2-
# Copyright (c) 2020-2025 Status Research & Development GmbH
2+
# Copyright (c) 2020-2026 Status Research & Development GmbH
33
# Licensed under either of
44
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
55
# http://www.apache.org/licenses/LICENSE-2.0)
@@ -74,13 +74,13 @@ jobs:
7474
OS="${{ matrix.os }}"
7575
CPU="${{ matrix.cpu }}"
7676
77-
NEC_TAR="nimbus_execution_client-${OS}-${CPU}-${TAG}-$(git rev-parse --short=8 HEAD).tar.gz"
77+
NEC_TAR="nimbus-${OS}-${CPU}-${TAG}-$(git rev-parse --short=8 HEAD).tar.gz"
7878
NVP_TAR="nimbus_verified_proxy-${OS}-${CPU}-${TAG}-$(git rev-parse --short=8 HEAD).tar.gz"
7979
8080
# Pack only the relevant binaries (and their checksums) from build/
8181
# Add additional files (LICENSE, README, configs) if desired with extra -C args.
8282
tar -czf "${NEC_TAR}" --exclude="build/nimbus_verified_proxy*" -C "${ARCHIVE_DIR}" .
83-
tar -czf "${NVP_TAR}" --exclude="build/nimbus_execution_client*" --exclude="build/librocksdb.dll" -C "${ARCHIVE_DIR}" .
83+
tar -czf "${NVP_TAR}" --exclude="build/nimbus*" --exclude="build/librocksdb.dll" -C "${ARCHIVE_DIR}" .
8484
8585
# Generate sha512 for the tarballs themselves
8686
sha512sum "${NEC_TAR}" > "${NEC_TAR}.sha512sum"
@@ -158,7 +158,7 @@ jobs:
158158
159159
## SHA512 checksums
160160
161-
### Nimbus Execution Client
161+
### Nimbus
162162
163163
\`\`\`text
164164
EOF

docker/dist/README.md.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hosted at https://github.com/status-im/nimbus-eth1.
77
The tarball containing this README uses the following naming scheme:
88

99
```bash
10-
nimbus_execution_client-<TARGET OS>-<TARGET CPU>-<VERSION>-<GIT COMMIT>.tar.gz
10+
nimbus-<TARGET OS>-<TARGET CPU>-<VERSION>-<GIT COMMIT>.tar.gz
1111
nimbus_verified_proxy-<TARGET OS>-<TARGET CPU>-<VERSION>-<GIT COMMIT>.tar.gz
1212
```
1313

docker/dist/binaries/Dockerfile.linux-amd64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nimbus
2-
# Copyright (c) 2018-2025 Status Research & Development GmbH
2+
# Copyright (c) 2018-2026 Status Research & Development GmbH
33
# Licensed under either of
44
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
55
# http://www.apache.org/licenses/LICENSE-2.0)
@@ -23,4 +23,4 @@ STOPSIGNAL SIGINT
2323
# Docker refuses to copy the source directory here, so read it as "nimbus-eth1/*"
2424
COPY "nimbus-eth1" "/home/user/nimbus-eth1/"
2525
WORKDIR "/home/user/nimbus-eth1/"
26-
ENTRYPOINT ["/home/user/nimbus-eth1/build/nimbus_execution_client"]
26+
ENTRYPOINT ["/home/user/nimbus-eth1/build/nimbus"]

docker/dist/binaries/Dockerfile.linux-arm64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Nimbus
2-
# Copyright (c) 2018-2025 Status Research & Development GmbH
2+
# Copyright (c) 2018-2026 Status Research & Development GmbH
33
# Licensed under either of
44
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
55
# http://www.apache.org/licenses/LICENSE-2.0)
@@ -29,4 +29,4 @@ STOPSIGNAL SIGINT
2929
# Docker refuses to copy the source directory here, so read it as "nimbus-eth1/*"
3030
COPY "nimbus-eth1" "/home/user/nimbus-eth1/"
3131
WORKDIR "/home/user/nimbus-eth1/"
32-
ENTRYPOINT ["/home/user/nimbus-eth1/build/nimbus_execution_client"]
32+
ENTRYPOINT ["/home/user/nimbus-eth1/build/nimbus"]

docker/dist/entry_point.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Copyright (c) 2020-2025 Status Research & Development GmbH. Licensed under
3+
# Copyright (c) 2020-2026 Status Research & Development GmbH. Licensed under
44
# either of:
55
# - Apache License, version 2.0
66
# - MIT license
@@ -18,7 +18,7 @@ if [[ -z "${1}" ]]; then
1818
fi
1919

2020
PLATFORM="${1}"
21-
BINARIES="nimbus_execution_client nimbus_verified_proxy"
21+
BINARIES="nimbus nimbus_verified_proxy"
2222
ROCKSDB_DIR=/usr/rocksdb
2323

2424
echo -e "\nPLATFORM=${PLATFORM}"
@@ -210,7 +210,7 @@ if [[ "${PLATFORM}" == "windows_amd64" ]]; then
210210
fi
211211

212212
for BINARY in ${BINARIES}; do
213-
cp -a "./build/${BINARY}${EXT}" "${DIST_PATH}/build/"
213+
cp "./build/${BINARY}${EXT}" "${DIST_PATH}/build/"
214214
if [[ "${PLATFORM}" =~ macOS ]]; then
215215
# Collect debugging info and filter out warnings.
216216
#
@@ -222,7 +222,7 @@ for BINARY in ${BINARIES}; do
222222
grep -v "while processing" |
223223
grep -v "warning: line table parameters mismatch. Cannot emit." ||
224224
true
225-
cp -a "./build/${BINARY}.dSYM" "${DIST_PATH}/build/"
225+
cp "./build/${BINARY}.dSYM" "${DIST_PATH}/build/"
226226
fi
227227
cd "${DIST_PATH}/build"
228228
sha512sum "${BINARY}${EXT}" >"${BINARY}.sha512sum"

0 commit comments

Comments
 (0)