Skip to content

Commit

Permalink
minimise initial size of cloned parts repository in releases
Browse files Browse the repository at this point in the history
Only copy master branch.
  • Loading branch information
cjmayo committed Jun 29, 2016
1 parent 8a408b3 commit 8d44113
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/deploy_fritzing_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ rm ./translations/*.ts # remove translation xml files, since we only need th
find ./translations -name "*.qm" -size -128c -delete # delete empty translation binaries

echo ">> clone parts repository"
git clone https://github.com/fritzing/fritzing-parts.git
git clone --branch master --single-branch https://github.com/fritzing/fritzing-parts.git
echo ">> build parts database and run fritzing"
./Fritzing -db "fritzing-parts/parts.db" # -pp "fritzing-parts" -f "."

Expand Down
2 changes: 1 addition & 1 deletion tools/linux_release_script/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ echo "cleaning translations"
rm ./translations/*.ts # remove translation xml files, since we only need the binaries in the release
find ./translations -name "*.qm" -size -128c -delete # delete empty translation binaries

git clone https://github.com/fritzing/fritzing-parts.git
git clone --branch master --single-branch https://github.com/fritzing/fritzing-parts.git

echo "making library folders"
mkdir lib
Expand Down
2 changes: 1 addition & 1 deletion tools/release_fritzing.bat
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ set CURRENTDIR=%cd%
cd %DESTDIR%
cd deploy

git clone https://github.com/fritzing/fritzing-parts.git
git clone --branch master --single-branch https://github.com/fritzing/fritzing-parts.git

del/s placeholder.txt
cd translations
Expand Down

0 comments on commit 8d44113

Please sign in to comment.