Skip to content

Commit 567cb41

Browse files
committed
ci: how-generate returns status instead of exiting
1 parent efaec81 commit 567cb41

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

how.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,5 @@ how-generate() {
4848
if ! quickdop -f $HOW_DOC $HOW_OUT -t json -c $HOW_CONFIG -viu; then
4949
HOW_STATUS=1
5050
fi
51+
return $HOW_STATUS
5152
}

travis-template.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ script:
2020
# Examples:
2121
# - how-redirect "$HOW_LATEST/manual/intro" $HOW_OUT/index.html # redirect index.html to the intro of the latest version
2222
# - how-redirect-manual 2.4.0 1.1.2 # redirect v1.1.2 manual to v2.4.0 manual
23-
- exit $HOW_STATUS
2423

2524
deploy:
2625
provider: pages

0 commit comments

Comments
 (0)