diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2404066..7068dc68 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,6 +41,6 @@ jobs: title: $version branch: main token: ${{ secrets.GITHUB_TOKEN }} - - run: ci/publish.sh + - run: tools/ci/publish.sh env: CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} diff --git a/Cargo.toml b/Cargo.toml index 1d93b0e0..9fab6c56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ license = "Apache-2.0 OR MIT" repository = "https://github.com/taiki-e/pin-project" keywords = ["pin", "macros", "attribute"] categories = ["no-std", "rust-patterns"] -exclude = ["/.*", "/ci", "/tools", "/DEVELOPMENT.md"] +exclude = ["/.*", "/tools", "/DEVELOPMENT.md"] description = """ A crate for safe and ergonomic pin-projection. """ diff --git a/ci/publish.sh b/tools/ci/publish.sh similarity index 95% rename from ci/publish.sh rename to tools/ci/publish.sh index 6f784967..64c47f51 100755 --- a/ci/publish.sh +++ b/tools/ci/publish.sh @@ -2,7 +2,7 @@ # SPDX-License-Identifier: Apache-2.0 OR MIT set -euo pipefail IFS=$'\n\t' -cd "$(dirname "$0")"/.. +cd "$(dirname "$0")"/../.. # shellcheck disable=SC2154 trap 's=$?; echo >&2 "$0: error on line "${LINENO}": ${BASH_COMMAND}"; exit ${s}' ERR