diff options
Diffstat (limited to 'scripts/sync_versions.sh')
| -rwxr-xr-x | scripts/sync_versions.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/sync_versions.sh b/scripts/sync_versions.sh deleted file mode 100755 index f3955ef..0000000 --- a/scripts/sync_versions.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -version=`just version` - -echo "Using version from meson.build: ${version}" - -# Rust Cargo.toml -echo -ne "\tUpdating: Cargo.toml" -sed -i "s/^version = \"[^\"]*\"$/version = \"$version\"/" Cargo.toml -echo -e "\r\tUpdated: Cargo.toml " - -# Arch PKGBUILD -echo -ne "\tUpdating: PKGBUILD" -sed -i "s/^pkgver=.*$/pkgver=$version/" build-aux/arch/PKGBUILD -echo -e "\r\tUpdated: PKGBUILD " - -# Fedora RPM Spec -echo -ne "\tUpdating: map.spec" -sed -i "s/^Version: .*$/Version: $version/" build-aux/rpm/map.spec -echo -e "\r\tUpdated: map.spec " |