Skip to content

Commit 332f334

Browse files
committed
use script
1 parent cd5c5b9 commit 332f334

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

.buildkite/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ agents:
33
image: "family/ecs-logging-java-ubuntu-2204"
44

55
env:
6-
TARBALL_FILE: ${TARBALL_FILE:-dist.tar}
6+
TARBALL_FILE: ${TARBALL_FILE:-artifacts.tar}
77

88
steps:
99
- label: "Run the release"

.buildkite/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ agents:
33
image: "family/ecs-logging-java-ubuntu-2204"
44

55
env:
6-
TARBALL_FILE: ${TARBALL_FILE:-dist.tar}
6+
TARBALL_FILE: ${TARBALL_FILE:-artifacts.tar}
77

88
steps:
99
- label: "Run the snapshot"

.ci/release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,5 @@ echo "--- Release the binaries to Maven Central :maven: [./mvnw ${GOAL})] ${DRY_
4040
./mvnw -V -s .ci/settings.xml -Pgpg clean $GOAL -DskipTests --batch-mode | tee release.txt
4141

4242
echo "--- Archive the target folder with jar files"
43-
find . -type d -name target -exec find {} -name '*.jar' -print0 \; | xargs -0 tar -cvf "${TARBALL_FILE:-dist.tar}"
43+
.ci/published-artifacts-list.sh | tee artifacts.list
44+
tar -cvf "${TARBALL_FILE:-artifacts.tar}" -T artifacts.list

.ci/snapshot.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ echo "--- Deploy the snapshot :package: [./mvnw ${GOAL})] ${DRY_RUN_MSG}"
3737
./mvnw -V -s .ci/settings.xml -Pgpg clean ${GOAL} -DskipTests --batch-mode | tee snapshot.txt
3838

3939
echo "--- Archive the target folder with jar files"
40-
find . -type d -name target -exec find {} -name '*.jar' -print0 \; | xargs -0 tar -cvf "${TARBALL_FILE:-dist.tar}"
40+
.ci/published-artifacts-list.sh | tee artifacts.list
41+
tar -cvf "${TARBALL_FILE:-artifacts.tar}" -T artifacts.list

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
contents: write
7171
id-token: write
7272
env:
73-
TARBALL_FILE: dist.tar
73+
TARBALL_FILE: artifacts.tar
7474
steps:
7575
- id: buildkite
7676
name: Run Release

.github/workflows/snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
contents: write
4242
id-token: write
4343
env:
44-
TARBALL_FILE: dist.tar
44+
TARBALL_FILE: artifacts.tar
4545
steps:
4646
- id: buildkite
4747
name: Run Deploy

0 commit comments

Comments
 (0)