Skip to content

Commit

Permalink
Move CI script from ci to tools/ci
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jul 18, 2023
1 parent c9d05c1 commit 8be69b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down
2 changes: 1 addition & 1 deletion ci/publish.sh → tools/ci/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8be69b9

Please sign in to comment.