summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2018-09-21 13:13:56 +0200
committerLinus Färnstrand <linus@mullvad.net>2018-09-24 16:36:49 +0200
commit3ce466bb2388e951a66ca9edea1d3e84a704a2ee (patch)
tree54cb07daf2396b5aa7f9033c76ba65d0ff8c8c40 /build.sh
parente0619be7d66bd3db2136d640e15131685d6084b9 (diff)
downloadmullvadvpn-3ce466bb2388e951a66ca9edea1d3e84a704a2ee.tar.xz
mullvadvpn-3ce466bb2388e951a66ca9edea1d3e84a704a2ee.zip
Use winres in all binary crates to set Windows resource metadata
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index fe1d4687df..c05b1a263c 100755
--- a/build.sh
+++ b/build.sh
@@ -78,6 +78,7 @@ function restore_metadata_backups() {
mv mullvad-daemon/Cargo.toml.bak mullvad-daemon/Cargo.toml || true
mv mullvad-cli/Cargo.toml.bak mullvad-cli/Cargo.toml || true
mv mullvad-problem-report/Cargo.toml.bak mullvad-problem-report/Cargo.toml || true
+ mv talpid-openvpn-plugin/Cargo.toml.bak talpid-openvpn-plugin/Cargo.toml || true
mv dist-assets/windows/version.h.bak dist-assets/windows/version.h || true
popd
}
@@ -92,7 +93,8 @@ sed -i.bak \
-Ee "s/^version = \"[^\"]+\"\$/version = \"$SEMVER_VERSION\"/g" \
mullvad-daemon/Cargo.toml \
mullvad-cli/Cargo.toml \
- mullvad-problem-report/Cargo.toml
+ mullvad-problem-report/Cargo.toml \
+ talpid-openvpn-plugin/Cargo.toml
SEMVER_ARRAY=($(echo $SEMVER_VERSION | sed -Ee 's/[.-]+/ /g'))
SEMVER_MAJOR=${SEMVER_ARRAY[0]}