1#!/bin/sh
2 3# 4# Add the `-nightly-YYYYMMDD` suffix the version of all Rust crates in the 5# workspace. Used by the nightly build. 6# 7 8set -e
910find . -name Cargo.toml -exec \
11 sed -i "" -e "s/^version = \"\([^\"]*\)\"$/version = \"\1-nightly-$(date +%Y%m%d)\"/"{}\;