Commit f44e8a1 1 parent a6eb434 commit f44e8a1 Copy full SHA for f44e8a1
File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -36,10 +36,11 @@ if [ -e "${zip}" ]; then
36
36
exit
37
37
fi
38
38
39
- cam_repo_target_dir=" ${TARGET} /github/self/ ${name} "
39
+ cam_repo_target_dir=" ${TARGET} /cam-sources "
40
40
41
41
if [ ! -d " ${cam_repo_target_dir} " ]; then
42
42
git clone --depth 1 https://github.com/yegor256/cam.git " ${cam_repo_target_dir} "
43
+ rm -rf " ${cam_repo_target_dir} /.git"
43
44
fi
44
45
45
46
if [ -e " ${TARGET} /github" ]; then
Original file line number Diff line number Diff line change @@ -37,9 +37,10 @@ echo "👍🏻 A zip archive generated correctly"
37
37
zip=${TARGET} /cam-$( date +%Y-%m-%d) .zip
38
38
" ${LOCAL} /steps/zip.sh"
39
39
list=$( unzip -l " ${zip} " )
40
- echo " ${list} " | grep " cam-*/" > /dev/null
40
+ echo " ${list} " | grep " cam-sources/" > /dev/null
41
+ echo " ${list} " | grep --invert-match " cam-sources/.git" > /dev/null
41
42
} > " ${stdout} " 2>&1
42
- echo " 👍🏻 A zip archive contains the CaM repository"
43
+ echo " 👍🏻 A zip archive contains the CaM repository (without .git) "
43
44
44
45
{
45
46
mkdir -p " ${TARGET} /measurements/a/b/baam.m.cloc"
You can’t perform that action at this time.
0 commit comments