Skip to content

Commit 92790a7

Browse files
committed
wrong naming
1 parent 1889d38 commit 92790a7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.ci/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ DRA_CREDS=$(vault kv get -field=data -format=json kv/ci-shared/release/dra-role)
4646
chmod -R a+r $PWD/.ci/output/*
4747
chmod -R a+w $PWD/.ci/output
4848
# Artifacts should be generated
49-
if [ "$WORKFLOW" = "staging" ]; then
49+
if [ "$WORKFLOW" = "snapshot" ]; then
5050
docker run --rm \
5151
--name release-manager \
5252
-e VAULT_ADDR="$(echo "$DRA_CREDS" | jq -r '.vault_addr')" \
@@ -62,7 +62,7 @@ if [ "$WORKFLOW" = "staging" ]; then
6262
--version "$STACK_VERSION" \
6363
--artifact-set main
6464
fi
65-
if [ "$WORKFLOW" = "snapshot" ]; then
65+
if [ "$WORKFLOW" = "staging" ]; then
6666
docker run --rm \
6767
--name release-manager \
6868
-e VAULT_ADDR="$(echo "$DRA_CREDS" | jq -r '.vault_addr')" \

build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ allprojects {
2121
group = "co.elastic.clients"
2222
// Release manager provides a $VERSION. If not present, it's a local or CI snapshot build.
2323
version = System.getenv("VERSION") ?:
24-
(File(project.rootDir, "config/version.txt").readText().trim() + "-" +
25-
File(project.rootDir, "config/version-qualifier.txt").readText().trim() + "-SNAPSHOT")
24+
(File(project.rootDir, "config/version.txt").readText().trim() + "-SNAPSHOT")
2625
repositories {
2726
maven {
2827
name = "Elastic-Snapshots"

0 commit comments

Comments
 (0)