Skip to content

Commit

Permalink
Fix in publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Feb 12, 2015
1 parent 3fa801a commit e9b766b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ if [ ! -f manifests/init.pp ] ; then
exit 1
fi

echo_title "REMOVING OLD PKGS"
rm -rf pkg/*

if [ $check == 'true' ] ; then
pwd
rake -f ../Example42-tools/Rakefile_blacksmith module:clean
Expand Down Expand Up @@ -145,6 +148,7 @@ if [ $forge == 'true' ] ; then
[ -d $work_dir ] || mkdir -p $work_dir
cp Modulefile $work_dir/Modulefile.tmp
grep -Ev 'example42/(monitor|firewall)' $work_dir/Modulefile.tmp > Modulefile
rm $work_dir/Modulefile.tmp
fi
rm -rf spec/fixtures
rake -f ../Example42-tools/Rakefile_blacksmith module:push || exit 1
Expand Down

0 comments on commit e9b766b

Please sign in to comment.