Split filecheck out into its own repo.
This commit is contained in:
@@ -4,7 +4,6 @@ cd $(dirname "$0")
|
||||
topdir="$(pwd)"
|
||||
|
||||
# All the cretonne-* crates have the same version number
|
||||
# The filecheck crate version is managed independently.
|
||||
version="0.3.4"
|
||||
|
||||
# Update all of the Cargo.toml files.
|
||||
@@ -12,9 +11,6 @@ version="0.3.4"
|
||||
# The main Cargo.toml in the top-level directory is the cretonne-tools crate which we don't publish.
|
||||
echo "Updating crate versions to $version"
|
||||
for crate in . lib/*; do
|
||||
if [ "$crate" = "lib/filecheck" ]; then
|
||||
continue
|
||||
fi
|
||||
# Update the version number of this crate to $version.
|
||||
sed -i.bk -e "s/^version = .*/version = \"$version\"/" "$crate/Cargo.toml"
|
||||
# Update the required version number of any cretonne* dependencies.
|
||||
@@ -31,7 +27,7 @@ cargo update
|
||||
|
||||
echo git commit -a -m "\"Bump version to $version"\"
|
||||
echo git push
|
||||
for crate in filecheck cretonne frontend native reader wasm; do
|
||||
for crate in cretonne frontend native reader wasm; do
|
||||
echo cargo publish --manifest-path "lib/$crate/Cargo.toml"
|
||||
done
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user