mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 17:41:33 +11:00
Makes sense to me to do the testing later
This commit is contained in:
parent
2b1ba6c849
commit
9193391731
10
release.sh
10
release.sh
|
@ -62,11 +62,6 @@ if [ ! "$NO_COMMIT" = "--no-commit" ] && [ "$(git symbolic-ref --short HEAD)" !=
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Sanity check to make sure the build works
|
||||
(cd agb && cargo test)
|
||||
(cd agb-image-converter && cargo test)
|
||||
(cd agb-macros && cargo test)
|
||||
|
||||
# Update the version in Cargo.toml
|
||||
sed -i -e "s/^version = \".*\"/version = \"$VERSION\"/" "$DIRECTORY/Cargo.toml"
|
||||
|
||||
|
@ -86,6 +81,11 @@ else
|
|||
git add agb/Cargo.toml agb/Cargo.lock
|
||||
fi
|
||||
|
||||
# Sanity check to make sure the build works
|
||||
(cd agb && cargo test)
|
||||
(cd agb-image-converter && cargo test)
|
||||
(cd agb-macros && cargo test)
|
||||
|
||||
if [ ! "$NO_COMMIT" = "--no-commit" ]; then
|
||||
# Commit the Cargo.toml changes
|
||||
git commit -m "Release $PROJECT v$VERSION"
|
||||
|
|
Loading…
Reference in a new issue