Skip to content

Commit 57c09d4

Browse files
committed
chore: update publish script to require explicit safety confirmation for FFI crate publishing
1 parent 5b5d347 commit 57c09d4

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ jobs:
1919

2020
- uses: dtolnay/rust-toolchain@stable
2121

22-
# Publish changed publishable packages.
23-
# tempoch-ffi and tempoch-time-data have publish = false and are skipped automatically.
24-
# Pass --confirm-ffi and protect behind a manual environment for FFI releases.
22+
# Publishing an FFI crate requires the script's explicit safety confirmation.
2523
- name: Publish changed packages
26-
run: bash scripts/publish-changed.sh
24+
run: bash scripts/publish-changed.sh --confirm-ffi
2725
env:
2826
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)