Skip to content

Commit da21b3c

Browse files
authored
Merge pull request #101 from silicon-heaven/fix-ci-publish
CI: Fix publishing
2 parents f739548 + 826b2ce commit da21b3c

2 files changed

Lines changed: 3 additions & 10 deletions

File tree

.github/workflows/rust.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,5 @@ jobs:
175175

176176
- run: |
177177
cargo login <<< "${{secrets.CRATES_IO_TOKEN}}"
178-
if ! PUBLISH_OUTPUT="$(cargo publish --workspace 2>&1)"; then
179-
echo "$PUBLISH_OUTPUT"
180-
if ! [[ "$PUBLISH_OUTPUT" =~ already\ exists\ on\ crates.io\ index ]]; then
181-
exit 1
182-
fi
183-
echo Some crates were already published.
184-
else
185-
echo "$PUBLISH_OUTPUT"
186-
fi
178+
cargo publish --package libshvproto-macros || true
179+
cargo publish --package shvproto || true

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name = "shvproto"
55
description = "Rust implementation of the SHV protocol"
66
license = "MIT"
77
repository = "https://github.com/silicon-heaven/libshvproto-rs"
8-
version = "6.0.0"
8+
version = "6.0.1"
99
edition = "2024"
1010

1111
[dependencies]

0 commit comments

Comments
 (0)