Skip to content
This repository was archived by the owner on Jun 12, 2023. It is now read-only.

Make sure we use the right release target #1717

Merged
merged 1 commit into from
Jun 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ steps:
env:
VERSION_TAG: $BUILDKITE_TAG
BUILD_NET: "testnet"
RELEASE_TARGET: "test_val"
RELEASE_TARGET: "test_validator"
PKG_STEM: "testnet-validator"
commands:
- "git tag $BUILDKITE_TAG"
- ".buildkite/scripts/make_deb.sh"
key: "testdeb"
artifact_paths: "*.deb"
Expand Down
2 changes: 0 additions & 2 deletions .buildkite/scripts/make_deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ RELEASE_TARGET="${RELEASE_TARGET:-validator}"
PKG_STEM="${PKG_STEM:-validator}"

VERSION=$(echo $VERSION_TAG | sed -e's,testnet_validator,,' -e 's,validator,,' )
git tag $VERSION

DIAGNOSTIC=1 ./rebar3 as ${RELEASE_TARGET} release -n miner -v ${VERSION} || ./rebar3 as ${RELEASE_TARGET} release -n miner -v ${VERSION}


wget -O /tmp/genesis https://snapshots.helium.wtf/genesis.${BUILD_NET}

fpm -n ${PKG_STEM} \
Expand Down