Docs: make shell scripts exit on errors so that CI jobs fail on build errors

This commit is contained in:
Mark Sinclair
2023-09-19 09:22:33 +01:00
parent 685f26792f
commit c57263e91b
3 changed files with 17 additions and 2 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# this is a script called by the github CI and CD workflows to build all 3 docs projects
# and move them to /dist/ in the root of the monorepo. They are rsynced to various servers
# from there by subsequent workflow tasks.
+5
View File
@@ -1,4 +1,9 @@
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# takes one manadatory arg and one optional arg: wallet release and minimum rust versions
# it then uses sed to bump them in the three book.toml files.
#
+6 -1
View File
@@ -1,4 +1,9 @@
#!/bin/bash
#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
# this is a script called by the github CI and CD workflows to post process CSS/image/href links for serving
# several mdbooks from a subdirectory