Only use feature requests in main repo

This commit is contained in:
Vítor Galvão
2018-05-07 00:08:15 +01:00
parent bede2414f2
commit e08b943446
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -32,8 +32,9 @@ function copy_templates_and_ci {
repo_name="${1}"
rsync --archive --delete "${main_repo_dir}"/{.editorconfig,.gitattributes,.github,.gitignore,.travis.yml,ci,CODE_OF_CONDUCT.md} '.'
rm '.github/ISSUE_TEMPLATE/02_feature_request.md' # Feature requests only make sense in the main repo
/usr/bin/sed -i '' -E "s:homebrew-cask/(pulls|issues):${repo_name}/\1:" '.github/PULL_REQUEST_TEMPLATE.md' # PULL_REQUEST_TEMPLATE has repo-specific links
# increase script.sh install cap for fonts repo
if [[ "${repo_name}" == 'homebrew-fonts' ]]; then
/usr/bin/sed -i '' -e 's:-le 3:-le 15:' -e 's:than 3 Casks:than 15 Casks:' 'ci/travis/script.sh'