Prevent changelog paths from being created during testing
Prior to this change, the changelog specs were polluting the root
release-tools folder with its various paths (changelogs
,
ee/changelogs
).
Removing the line didn't have any adverse effect on the test suite.
Traced to dbc0af39 with git bisect
and the following script passed to git bisect run
:
#!/bin/bash
set -e
rm -rf ee changelogs ruby
bundle install
# Handle restructure
if [ -d spec/lib/release_tools ]; then
bundle exec rspec -- spec/lib/release_tools/changelog/manager_spec.rb
else
bundle exec rspec -- spec/lib/changelog/manager_spec.rb
fi
if [ -d ee ]; then
echo "Failed!"
exit 1
else
exit 0
fi
Edited by Robert Speicher