-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from dark0dave/fix/itemExtenderHeaderFeatureBl…
…ocks fix(item): Now parses embeded items correctly
- Loading branch information
Showing
19 changed files
with
70 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[package] | ||
name = "post_infinity" | ||
version = "5.1.0" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[workspace] | ||
|
||
[dependencies] | ||
binrw = "^0.14.1" | ||
clap = { version = "^4.0", features = ["derive", "env"] } | ||
env_logger = "^0.11.1" | ||
erased-serde = "0.4" | ||
log = "^0.4.22" | ||
models = { path = "./models" } | ||
serde_json = "^1.0" |
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,13 +1,25 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
release_tag=$(git describe --tags --abbrev=0); | ||
trap "rm -f Cargo.toml.test" SIGINT; | ||
sed "s/^version \= .*/version = \"${release_tag/v/}\"/" Cargo.toml > Cargo.toml.test; | ||
diff -sd Cargo.toml.test Cargo.toml; | ||
if [ $? -eq 0 ]; then | ||
rm -f Cargo.toml.test; | ||
exit 0; | ||
else | ||
function version_gt() { test "$(echo "$@" | tr " " "\n" | sort -V | head -n 1)" != "$1"; } | ||
|
||
function main() { | ||
local tag_version=$(git describe --tags --abbrev=0); | ||
echo "Git tag version: ${tag_version}" | ||
local current_version=$(head -3 Cargo.toml | tail -1 | sed -E "s/^version \= \"(.*)\"/\1/") | ||
echo "Cargo.toml version: v${current_version}" | ||
if [ "${tag_version}" == "v${current_version}" ]; then | ||
echo "Versions are the same" | ||
exit 0; | ||
fi | ||
|
||
if version_gt "v${current_version}" "${tag_version}"; then | ||
echo "Current version greater than tag version" | ||
exit 0; | ||
fi | ||
|
||
echo "Failed, tag version: ${tag_version} is greater than Cargo,toml: v${current_version}" | ||
exit 1; | ||
fi | ||
} | ||
|
||
main |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
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
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
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