From ace8cfaa961f3c6f5df34fe18390c9943f0371ce Mon Sep 17 00:00:00 2001 From: bnkc Date: Fri, 2 Aug 2024 16:29:53 -0600 Subject: [PATCH] quick push --- .github/workflows/CI.yml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 0e66a34..3ae0482 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -156,7 +156,7 @@ jobs: release: name: Release runs-on: ubuntu-latest - if: "startsWith(github.ref, 'refs/tags/')" + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') needs: [linux, musllinux, windows, macos, sdist] steps: - uses: actions/download-artifact@v4 diff --git a/src/lib.rs b/src/lib.rs index b2c9ea0..9355a38 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -388,7 +388,7 @@ impl EmailValidator { // TLDs must end with a letter. if !DOMAIN_NAME_REGEX.is_match(normalized_domain.as_bytes()) { return Err(PySyntaxError::new_err( - "Invalid domain: The part after the '@' sign does not belong to a valid top-level domain (TLD).", + "Invalid domain: The part after the '@' sign does not belong to a valid top-level domain (TLD).", )); } }