Skip to content

Commit 0f71ebc

Browse files
Fix crate publishing order - publish core before derive
domainstack-derive has a dev-dependency on domainstack core, so core must be published first to crates.io before derive can be packaged.
1 parent 91a727b commit 0f71ebc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ jobs:
5353
exit 1
5454
fi
5555
56-
- name: Publish domainstack-derive
57-
run: cargo publish --token ${{ secrets.CARGO_TOKEN }} --manifest-path domainstack/domainstack-derive/Cargo.toml
56+
- name: Publish domainstack (core)
57+
run: cargo publish --token ${{ secrets.CARGO_TOKEN }} --manifest-path domainstack/domainstack/Cargo.toml
5858

5959
- name: Wait for crates.io to update
6060
run: sleep 30
6161

62-
- name: Publish domainstack (core)
63-
run: cargo publish --token ${{ secrets.CARGO_TOKEN }} --manifest-path domainstack/domainstack/Cargo.toml
62+
- name: Publish domainstack-derive
63+
run: cargo publish --token ${{ secrets.CARGO_TOKEN }} --manifest-path domainstack/domainstack-derive/Cargo.toml
6464

6565
- name: Wait for crates.io to update
6666
run: sleep 30

0 commit comments

Comments
 (0)