diff options
author | George Miller <George@livio.io> | 2022-07-27 11:44:58 -0400 |
---|---|---|
committer | George Miller <George@livio.io> | 2022-07-27 11:44:58 -0400 |
commit | c566b08548eeb4be4c2c947d6cfe25a3b52387eb (patch) | |
tree | d62343547355804069c7c40174b46dc9378e0044 /scripts | |
parent | 0dda3e31c63e995a0a97d1e2f48e6dfe915253ae (diff) | |
download | sdl_ios-c566b08548eeb4be4c2c947d6cfe25a3b52387eb.tar.gz |
generate documentation fix
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/release.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/release.sh b/scripts/release.sh index ecea778c3..09ea0e63d 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -192,12 +192,15 @@ if [[ $? == 1 ]]; then # This runs Jazzy to generate the documentation. echo "Running Jazzy to generate documentation..." - chmod u+x ./scripts/generate-documentation.sh + # generate-documentation.sh throws an error if we are not in the correct directorywhen we run it. + cd scripts + chmod u+x ./generate-documentation.sh if [ $(uname -m) == "x86_64" ]; then - ./scripts/generate-documentation.sh + ./generate-documentation.sh else arch -x86_64 /bin/bash ./scripts/generate-documentation.sh fi + cd .. fi # Ensure that the RPC_SPEC has released to the master branch and update the submodule to point to the new release tag (or to the HEAD of master, if no release of the RPC_SPEC is occurring). |