Skip to content

Commit

Permalink
wrong naming
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Jan 16, 2025
1 parent 1889d38 commit 92790a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .ci/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ DRA_CREDS=$(vault kv get -field=data -format=json kv/ci-shared/release/dra-role)
chmod -R a+r $PWD/.ci/output/*
chmod -R a+w $PWD/.ci/output
# Artifacts should be generated
if [ "$WORKFLOW" = "staging" ]; then
if [ "$WORKFLOW" = "snapshot" ]; then
docker run --rm \
--name release-manager \
-e VAULT_ADDR="$(echo "$DRA_CREDS" | jq -r '.vault_addr')" \
Expand All @@ -62,7 +62,7 @@ if [ "$WORKFLOW" = "staging" ]; then
--version "$STACK_VERSION" \
--artifact-set main
fi
if [ "$WORKFLOW" = "snapshot" ]; then
if [ "$WORKFLOW" = "staging" ]; then
docker run --rm \
--name release-manager \
-e VAULT_ADDR="$(echo "$DRA_CREDS" | jq -r '.vault_addr')" \
Expand Down
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ allprojects {
group = "co.elastic.clients"
// Release manager provides a $VERSION. If not present, it's a local or CI snapshot build.
version = System.getenv("VERSION") ?:
(File(project.rootDir, "config/version.txt").readText().trim() + "-" +
File(project.rootDir, "config/version-qualifier.txt").readText().trim() + "-SNAPSHOT")
(File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
repositories {
maven {
name = "Elastic-Snapshots"
Expand Down

0 comments on commit 92790a7

Please sign in to comment.