From b7575464eadc3d859908897c385b84ceab2f8a4c Mon Sep 17 00:00:00 2001 From: Chris Black Date: Thu, 12 Sep 2024 13:14:08 -0700 Subject: [PATCH] double-equal is a bashism and Actions steps can secretly run as sh --- .github/workflows/book.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 240ebd8877..14e14c75d0 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -65,7 +65,7 @@ jobs: git config --global user.email "pecanproj@gmail.com" git config --global user.name "GitHub Documentation Robot" export VERSION=$(echo $GITHUB_REF | sed 's,.*/,,' ) - if [ "$VERSION" == "main" ]; then + if [ "$VERSION" = "main" ]; then export VERSION=latest fi cd pecan-documentation