-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extra tests to ; fix not working cases; cleanup scripts
- Loading branch information
Showing
7 changed files
with
107 additions
and
46 deletions.
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
REPO_DIR="${SCRIPT_DIR}/.." | ||
CURRENT_DIR=$(pwd) | ||
|
||
cd "${REPO_DIR}" | ||
|
||
set -eo xtrace | ||
|
||
./scripts/test_all.sh | ||
|
||
nvim Cargo.toml | ||
cargo build | ||
|
||
nvim CHANGELOG.md | ||
nvim src/lib.rs | ||
|
||
cargo readme > README.md | ||
|
||
cargo publish --dry-run --allow-dirty | ||
|
||
git add . | ||
git commit | ||
git push origin | ||
|
||
set +o xtrace | ||
|
||
echo "Next step: Wait for CI\n" | ||
echo "Next step: \`git tag vX.Y.Z; git push --tags\`\n" | ||
echo "Next step: Create release in Github\n" | ||
echo "Next step: \`cargo publish\`" | ||
|
||
cd "${CURRENT_DIR}" |
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