Skip to content

Commit 757b4ea

Browse files
committed
Assemble command in .ci/make.sh
1 parent 289c7ed commit 757b4ea

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.ci/make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ esac
140140
if [[ "$CMD" == "assemble" ]]; then
141141
artefact_name="elasticsearch-php-${VERSION}"
142142
echo -e "\033[34;1mINFO: copy artefacts\033[0m"
143-
rsync -arv --exclude=.ci --exclude=.git "$PWD" "${output_folder}/."
143+
rsync -arv --exclude=.ci --exclude=.git --filter=':- .gitignore' "$PWD" "${output_folder}/."
144144

145145
echo -e "\033[34;1mINFO: rename artefacts\033[0m"
146146
mv -v "${output_folder}/elasticsearch-php" "${output_folder}/${artefact_name}"

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,6 @@ tests/*-junit.xml
4646

4747
# YAML tests
4848
tests/Elasticsearch/Tests/Yaml
49+
50+
# Exclude .ci/make.sh artifcats
51+
.ci/output

0 commit comments

Comments
 (0)