Skip to content

Commit c1d6dd7

Browse files
committed
Change name of the triggered main pipeline to reflect the TEST_RC state
1 parent 9a18033 commit c1d6dd7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/buildkite/release/generate-trigger.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ CABAL=$(buildkite-agent meta-data get "release-cabal-version")
99
TEST_RC=$(buildkite-agent meta-data get "test-rc")
1010
BASE_BUILD=$(buildkite-agent meta-data get "base-build")
1111

12+
if [ "$TEST_RC" == "TURE" ]; then
13+
title="Test Release Candidate of $VERSION"
14+
else
15+
title="Release Candidate of $VERSION"
16+
fi
17+
1218
cat << YAML
1319
steps:
1420
- trigger: cardano-wallet
@@ -18,7 +24,7 @@ steps:
1824
build:
1925
commit: $COMMIT
2026
branch: $BRANCH
21-
message: Release Candidate of $VERSION
27+
message: $title
2228
env:
2329
RELEASE_CANDIDATE: "$VERSION"
2430
TEST_RC: "$TEST_RC"

0 commit comments

Comments
 (0)