-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "sliceslice" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
authors = ["marmeladema <[email protected]>", "Zak Cutner <[email protected]>"] | ||
edition = "2018" | ||
description = "A fast implementation of single-pattern substring search using SIMD acceleration" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
GIT_TAG="$(git describe --tags --exact-match HEAD)" | ||
CARGO_VERSION="$(cargo metadata --no-deps --format-version=1 | jq -r '(.packages[] | select(.name == "sliceslice").version)')" | ||
|
||
if [ "$GIT_TAG" != "v$CARGO_VERSION" ]; then | ||
echo "version mismatch: git tag is $GIT_TAG but cargo version is $CARGO_VERSION" | ||
exit 1 | ||
fi |