Skip to content

Commit

Permalink
fix workaround elastic#4
Browse files Browse the repository at this point in the history
  • Loading branch information
dliappis committed Jan 15, 2025
1 parent 14c499f commit 927d04c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .buildkite/scripts/dra.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ release_manager_login
chmod -R a+r build/*
chmod -R a+w build

if [[ ! -z "$VERSION_QUALIFIER" ]]; then
cp build/distributions/dependencies-${BRANCH}.csv build/distributions/dependencies-${BRANCH}-${VERSION_QUALIFIER}.csv
fi

echo "+++ :clipboard: Listing DRA artifacts for version [$BEAT_VERSION], branch [$BRANCH] and workflow [$DRA_WORKFLOW]"
set +x
docker run --rm \
Expand Down
5 changes: 5 additions & 0 deletions .buildkite/scripts/packaging/prepare-release-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ FINAL_VERSION=$VERSION-SNAPSHOT
if [ "$TYPE" != "snapshot" ] ; then
FINAL_VERSION=$VERSION
fi

if [[ -n "$VERSION_QUALIFIER" ]]; then
FINAL_VERSION=""$FINAL_VERSION-${VERSION_QUALIFIER}""
fi

echo "Rename dependencies to $FINAL_VERSION"
mv build/distributions/dependencies.csv \
build/distributions/dependencies-"$FINAL_VERSION".csv
Expand Down

0 comments on commit 927d04c

Please sign in to comment.