blob: 6e7029022cf48580b4b3eac3aa7afe703c5188c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
. "$(cd -- "$(dirname -- "${0}")" && pwd -P)/../bootstrap"
initializeRepositories
"${BIN_MAIN}" --workdir "${DIR_TEMP}" --branch-whitelist 'master' --tag-blacklist 'rx:tag-[0-9]+' -- "${DIR_SOURCE}" '--prune-empty --subdirectory-filter subdir' "${DIR_DESTINATION}"
echo 'Fetching tags'
actualTags="$(getTagList "${DIR_DESTINATION}")"
expectedTags=''
if test "${actualTags}" != "${expectedTags}"
then
printf 'Expected tags: %s\nResulting tags with rx blacklist: %s\n' "${expectedTags}" "${actualTags}">&2
exit 1
fi
|