Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,12 @@ jobs:
git commit -m "Release ${RELEASE_TAG}"
git tag -a "${RELEASE_TAG}" -m "Release ${RELEASE_TAG}"

# Scoped to the library. Unscoped, `cargo package` also verifies
# `tinywallet-module`, whose path dependency on this crate carries no
# version — correct for a crate that is `publish = false` and shipped as
# a release artifact, but fatal to a workspace-wide package step.
- name: Package crate
run: cargo package --locked
run: cargo package --locked --package tinywallet

- name: Push release commit and tag
env:
Expand All @@ -148,7 +152,7 @@ jobs:
git push origin "${RELEASE_TAG}"

- name: Publish to crates.io
run: cargo publish --locked
run: cargo publish --locked --package tinywallet
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Expand Down