Skip to content

Commit

Permalink
fix(tools): checkout correct branch for docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
GerkinDev committed Apr 8, 2023
1 parent ed51230 commit f6e05ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TEMP_DIR="$(mktemp -d)"
echo "Using docs temp dir ${TEMP_DIR}"
REMOTE_URL="$(git config --get remote.origin.url)"
cd "${TEMP_DIR}"
git clone --depth 1 --branch develop ${REMOTE_URL} .
git clone --depth 1 --branch docs ${REMOTE_URL} .
rsync -va --delete --exclude ".git" "${PWD_SV}/docs/" ./
git add .
git commit -m "docs: publish docs for v${VERSION}
Expand Down

0 comments on commit f6e05ba

Please sign in to comment.