File tree Expand file tree Collapse file tree 6 files changed +8
-6
lines changed Expand file tree Collapse file tree 6 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 3
3
image : " family/ecs-logging-java-ubuntu-2204"
4
4
5
5
env :
6
- TARBALL_FILE : ${TARBALL_FILE:-dist .tar}
6
+ TARBALL_FILE : ${TARBALL_FILE:-artifacts .tar}
7
7
8
8
steps :
9
9
- label : " Run the release"
Original file line number Diff line number Diff line change 3
3
image : " family/ecs-logging-java-ubuntu-2204"
4
4
5
5
env :
6
- TARBALL_FILE : ${TARBALL_FILE:-dist .tar}
6
+ TARBALL_FILE : ${TARBALL_FILE:-artifacts .tar}
7
7
8
8
steps :
9
9
- label : " Run the snapshot"
Original file line number Diff line number Diff line change @@ -40,4 +40,5 @@ echo "--- Release the binaries to Maven Central :maven: [./mvnw ${GOAL})] ${DRY_
40
40
./mvnw -V -s .ci/settings.xml -Pgpg clean $GOAL -DskipTests --batch-mode | tee release.txt
41
41
42
42
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
Original file line number Diff line number Diff line change @@ -37,4 +37,5 @@ echo "--- Deploy the snapshot :package: [./mvnw ${GOAL})] ${DRY_RUN_MSG}"
37
37
./mvnw -V -s .ci/settings.xml -Pgpg clean ${GOAL} -DskipTests --batch-mode | tee snapshot.txt
38
38
39
39
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
Original file line number Diff line number Diff line change 70
70
contents : write
71
71
id-token : write
72
72
env :
73
- TARBALL_FILE : dist .tar
73
+ TARBALL_FILE : artifacts .tar
74
74
steps :
75
75
- id : buildkite
76
76
name : Run Release
Original file line number Diff line number Diff line change 41
41
contents : write
42
42
id-token : write
43
43
env :
44
- TARBALL_FILE : dist .tar
44
+ TARBALL_FILE : artifacts .tar
45
45
steps :
46
46
- id : buildkite
47
47
name : Run Deploy
You can’t perform that action at this time.
0 commit comments