Skip to content

Commit

Permalink
fix: Add statelessnet-release as accepted release type in build script (
Browse files Browse the repository at this point in the history
#11238)

In the [custom build Github
action](https://github.com/near/nearcore/actions/workflows/neard_custom_release.yml)
we want to allow compiling and publishing stateless-release type. The
script does not accept it even though it is defined in the
[Makefile](https://github.com/near/nearcore/blob/3346b4afb404fdf8fc1b21f2d1551330c5e92051/Makefile#L93).
This change adds it to the accepted release type list.
  • Loading branch information
tayfunelmas committed May 6, 2024
1 parent 72a159b commit 1aa910a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/binary_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -xeo pipefail
release="${1:-neard-release}"

case "$release" in
neard-release|nightly-release|perf-release|assertions-release)
neard-release|nightly-release|perf-release|assertions-release|statelessnet-release)
;;
*)
echo "Unsupported release type '$release'. Please provide no argument for normal release or provide nightly-release for nightly."
Expand Down

0 comments on commit 1aa910a

Please sign in to comment.