Skip to content

Commit

Permalink
Export unconditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jun 15, 2020
1 parent 1440ba9 commit f6546d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .travis/export-github-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,10 @@ declare repo_name=$2
exit 1
}

.travis/affects.sh "$subdir" || exit 0
echo "Exporting $subdir"

set -x
rm -rf .github_export/"$repo_name"
git clone https://"$GITHUB_TOKEN"@github.com/solana-labs/"$repo_name" .github_export/"$repo_name"

# TODO: Try using `--refs $TRAVIS_COMMIT_RANGE` to speed up the filtering
git filter-repo --subdirectory-filter "$subdir" --target .github_export/"$repo_name"

git -C .github_export/"$repo_name" push https://"$GITHUB_TOKEN"@github.com/solana-labs/"$repo_name"

0 comments on commit f6546d0

Please sign in to comment.