Skip to content

Commit

Permalink
chore: add --no-verify flag when publishing default-config crate (#253
Browse files Browse the repository at this point in the history
)
  • Loading branch information
cbrzn authored Nov 23, 2023
1 parent e3b642f commit 6347431
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,16 @@ for package in "${packages[@]}"; do
cd packages/$package
echo "Generating documentation for $package..."
cargo doc --no-deps
echo "Publishing $package..."
cargo publish --token "${CRATES_IO_TOKEN}"

# Check if the package is default-config and add --no-verify accordingly
if [ "$package" == "default-config" ]; then
echo "Publishing $package with --no-verify..."
cargo publish --no-verify --token "${CRATES_IO_TOKEN}"
else
echo "Publishing $package..."
cargo publish --token "${CRATES_IO_TOKEN}"
fi

rm -rf target/
cd -
done

0 comments on commit 6347431

Please sign in to comment.