Skip to content

Commit

Permalink
[fix] 修复重构后的路径错误
Browse files Browse the repository at this point in the history
  • Loading branch information
Borber committed May 20, 2023
1 parent ed62ece commit 2fece16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/build-host-release
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ done
BUILD_FEATURES+=${BUILD_EXTRA_FEATURES}

ROOT_DIR=$(cd $(dirname $0) && pwd)
VERSION=$(grep -E '^version' "${ROOT_DIR}/../Cargo.toml" | awk '{print $3}' | sed 's/"//g')
VERSION=$(grep -E '^version' "${ROOT_DIR}/../seam/Cargo.toml" | awk '{print $3}' | sed 's/"//g')
HOST_TRIPLE=$(rustc -Vv | grep 'host:' | awk '{print $2}')

echo "Started build release ${VERSION} for ${HOST_TRIPLE} (target: ${BUILD_TARGET}) with features \"${BUILD_FEATURES}\"..."
Expand Down
2 changes: 1 addition & 1 deletion build/build-release
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Path: build\release

CUR_DIR=$(cd $(dirname $0) && pwd)
VERSION=$(grep -E '^version' ${CUR_DIR}/../Cargo.toml | awk '{print $3}' | sed 's/"//g')
VERSION=$(grep -E '^version' ${CUR_DIR}/../seam/Cargo.toml | awk '{print $3}' | sed 's/"//g')

## Disable macos ACL file
if [[ "$(uname -s)" == "Darwin" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion build/build-release-zigbuild
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

CUR_DIR=$(cd $(dirname $0) && pwd)
VERSION=$(grep -E '^version' ${CUR_DIR}/../Cargo.toml | awk '{print $3}' | sed 's/"//g')
VERSION=$(grep -E '^version' ${CUR_DIR}/../seam/Cargo.toml | awk '{print $3}' | sed 's/"//g')

## Disable macos ACL file
if [[ "$(uname -s)" == "Darwin" ]]; then
Expand Down

0 comments on commit 2fece16

Please sign in to comment.