rm -rf tmp/release publish-tag-and-crate revision='master': #!/usr/bin/env bash set -euxo pipefail rm -rf tmp/release git clone git@github.com:ordinals/ord.git tmp/release cd tmp/release git checkout {{revision}} VERSION=`sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/\1/p' Cargo.toml | head -1` git tag -a $VERSION -m "Release $VERSION" git push git@github.com:ordinals/ord.git $VERSION cargo publish cd ../.. rm -rf tmp/release list-outdated-dependencies: cargo outdated -R cd test-bitcoincore-rpc && cargo outdated -R update-modern-normalize: curl \ https://raw.githubusercontent.com/sindresorhus/modern-normalize/main/modern-normalize.css \ > static/modern-normalize.css download-log unit='ord' host='ordinals.net': ssh root@{{host}} 'mkdir -p tmp && journalctl -u {{unit}} > tmp/{{unit}}.log' rsync --progress --compress root@{{host}}:tmp/{{unit}}.log tmp/{{unit}}.log download-index unit='ord' host='ordinals.net': rsync --progress --compress root@{{host}}:/var/lib/{{unit}}/index.redb tmp/{{unit}}.index.redb