From 4e6c1c6a561ac970560fa305afc583af39ea893b Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Thu, 27 Jul 2023 21:48:26 +0800 Subject: [PATCH] build-tools --- .github/workflows/rust.yml | 1 + build-tools/del-rel-dep.sh | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 build-tools/del-rel-dep.sh diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 763fd323..6e3a523b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -63,6 +63,7 @@ on: - master - 0.*.x - pr/**/ci + - ci-* concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.ref || github.run_id }} diff --git a/build-tools/del-rel-dep.sh b/build-tools/del-rel-dep.sh new file mode 100644 index 00000000..d507fc27 --- /dev/null +++ b/build-tools/del-rel-dep.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -e + +find examples/ -depth -type f -name '*.toml' -exec sed -i '/^path = "..\/..\/..\/sea-orm-migration"/d' {} \; +find examples/ -depth -type f -name '*.toml' -exec sed -i '/^path = "..\/..\/..\/"/d' {} \; \ No newline at end of file