Skip to content

Commit 0afeb47

Browse files
committed
remove qualifier from dra
1 parent d095b1d commit 0afeb47

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.ci/release_dra.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ set -euo pipefail
2222

2323
WORKFLOW=$1
2424
STACK_VERSION=$(cat config/version.txt)
25-
VERSION_QUALIFIER=$(cat config/version-qualifier.txt)
2625

2726
# Branch: BRANCH env var > Buildkite's BUILDKITE_BRANCH var > minor version
2827
BRANCH=${BRANCH:-${BUILDKITE_BRANCH:-${STACK_VERSION%.*}}}
2928

30-
if [[ "$BRANCH" = "main" && "$WORKFLOW" = "staging" && "$VERSION_QUALIFIER" = "" ]]; then
29+
if [[ "$BRANCH" = "main" && "$WORKFLOW" = "staging" ]]; then
3130
echo "No staging build for the main branch - skipping"
3231
exit 0
3332
fi
@@ -36,7 +35,7 @@ fi
3635
BUILD_VERSION=$STACK_VERSION
3736
[ "$WORKFLOW" = "snapshot" ] && BUILD_VERSION="${BUILD_VERSION}-SNAPSHOT"
3837

39-
echo "Releasing version $STACK_VERSION, branch: $BRANCH, workflow: $WORKFLOW, qualifier: $VERSION_QUALIFIER"
38+
echo "Releasing version $STACK_VERSION, branch: $BRANCH, workflow: $WORKFLOW"
4039

4140
DRA_CREDS=$(vault kv get -field=data -format=json kv/ci-shared/release/dra-role)
4241

@@ -76,6 +75,5 @@ if [ "$WORKFLOW" = "staging" ]; then
7675
--commit "$(git rev-parse HEAD)" \
7776
--workflow "$WORKFLOW" \
7877
--version "$STACK_VERSION" \
79-
--qualifier "$VERSION_QUALIFIER" \
8078
--artifact-set main
8179
fi

0 commit comments

Comments
 (0)