Created
January 16, 2026 06:32
-
-
Save littledivy/d34d34dbe1c3262464584b0555abff4b to your computer and use it in GitHub Desktop.
rusty_v8 publish release rescue
This file contains hidden or 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
| #!/bin/bash | |
| set -e | |
| rm -rf gen_temp gen | |
| mkdir -p gen_temp | |
| gh run download 21040538462 -p "src_binding_*.rs" -D gen_temp | |
| mkdir -p gen | |
| for dir in gen_temp/*/; do | |
| if [ -d "$dir" ]; then | |
| for file in "$dir"*.rs; do | |
| if [ -f "$file" ]; then | |
| cp "$file" gen/ | |
| fi | |
| done | |
| fi | |
| done | |
| rm -rf gen_temp | |
| echo "Downloaded binding files:" | |
| ls -1 gen/ | |
| echo "" | |
| echo "Ready to publish. Run: cargo publish -vv --locked --allow-dirty" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment