From 25ea83a42e8e30db89568af20cde5b6711d59dbc Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 26 Aug 2023 09:47:23 -0400 Subject: [PATCH] Fix bash --- .github/workflows/bump.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index f9074ea3..1730a3a6 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -16,7 +16,7 @@ jobs: - name: Update date id: update-date run: | - if $(git diff --quiet certifi/cacert.pem)); then + if ! git diff --quiet certifi/cacert.pem ; then DATE=$(date +"%Y.%m.%d") sed -E -i "s/__version__ = .*/__version__ = \"${DATE}\"/" certifi/__init__.py echo "DATE=${DATE}" >> $GITHUB_OUTPUT