Skip to content

Commit ab7a9a1

Browse files
authored
Remove sub-directory and .conf file from archives (#7)
1 parent 03d8129 commit ab7a9a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/build-index-files.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ name=${NAME:-cow}
55

66
rm -rf $target
77
mkdir -p $target
8-
cp index.* SourceSans3.ttf $target
8+
cp index.html index.txt SourceSans3.ttf $target
99

1010
sed -i "s/build_version_note/${VERSION_NOTE:0:11}/" $target/index.*
1111
sed -i "s/build_emoji/${EMOJI:-🐮}/" $target/index.*
1212
sed -i "s/build_hello/${HELLO:-Moo}/" $target/index.*
1313
sed -i "s/build_name/$name/" $target/index.*
1414

15-
tar -czvf animals-$name.tar.gz $target/*
15+
tar -czvf animals-$name.tar.gz -C $target .

0 commit comments

Comments
 (0)