Skip to content

Commit

Permalink
fix(check-if-email-exists)
Browse files Browse the repository at this point in the history
 closes #8165
  • Loading branch information
jhheider committed Dec 15, 2024
1 parent abf24c9 commit 309a601
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions projects/reacher.email/check-if-email-exists-cli/package.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
distributable:
url: https://github.com/reacherhq/check-if-email-exists/archive/refs/tags/v{{ version }}.tar.gz
url: https://github.com/reacherhq/check-if-email-exists/archive/refs/tags/{{ version.tag }}.tar.gz
strip-components: 1

provides:
- bin/check_if_email_exists

versions:
github: reacherhq/check-if-email-exists
strip: /v/

dependencies:
openssl.org: ^1.1
Expand All @@ -18,21 +17,14 @@ build:
rust-lang.org: '>=1.65'
rust-lang.org/cargo: '*'
perl.org: '*'
linux:
gnu.org/make: '*'
script:
# 0.9.0 forgot to bump the version
- run: |
sed -i.bak -e 's/0\.8\.32/{{version}}/' Cargo.toml
rm Cargo.toml.bak
if: =0.9.0
- run: |
sed -i.bak -e 's/0\.8\.32/{{version}}/' Cargo.toml
rm Cargo.toml.bak
working-directory: ../core
- run: sed -i -e 's/0\.8\.32/{{version}}/' core/Cargo.toml cli/Cargo.toml
working-directory: ..
if: =0.9.0
# missing feature needed to build
- run: sed -i '/check-if-email-exists =/s/ \}/, features = ["sentry"] \}/' Cargo.toml
if: ^0.10
- cargo install --path . --root {{prefix}}

test:
script:
- test "$(check_if_email_exists --version)" = "check-if-email-exists-cli {{version}}"
test: test "$(check_if_email_exists --version)" = "check-if-email-exists-cli {{version}}"

0 comments on commit 309a601

Please sign in to comment.