Set permissions to allow script to run
chmod a+x ./gitbook-tag-build.sh
Choose an output folder, and an input file containing a list of Git tags.
The default ouput folder is _allBooks
and the default input is .gitbook-tags
# default usage
./gitbook-tag-build.sh <outFolder> <inputFile>
# or use `git tag` as input
git tag | ./gitbook-tag-build.sh
Example Input:
v1.0.0
v1.0.0-alpha
Example Output:
_allBooks/[email protected]
_allBooks/[email protected]