Skip to content

Commit

Permalink
Merge pull request fritzing#3232 from cjmayo/release
Browse files Browse the repository at this point in the history
minimise initial size of cloned parts repository in releases
  • Loading branch information
aknoerig authored Jul 4, 2016
2 parents daac3da + 8d44113 commit 7ab7da8
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 7ab7da8

Please sign in to comment.