Fork of daniellemaywood.uk/gleam — Wasm codegen work
1# SPDX-License-Identifier: Apache-2.0
2# SPDX-FileCopyrightText: 2023 The Gleam contributors
3
4#!/bin/sh
5
6#
7# Add the `-nightly-YYYYMMDD` suffix the version of all Rust crates in the
8# workspace. Used by the nightly build.
9#
10
11set -e
12
13find . -name Cargo.toml -exec \
14 sed -i "" -e "s/^version = \"\([^\"]*\)\"$/version = \"\1-nightly-$(date +%Y%m%d)\"/" {} \;