File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ jobs:
64
64
for PACKAGE_NAME in $PACKAGE_NAMES; do
65
65
# Publish each package within the workspace if required
66
66
last_published_version=$(cargo search -q --limit 1 $PACKAGE_NAME | grep -oP '\d+\.\d+\.\d+')
67
- echo "Published version of $PACKAGE_NAME is $version_published "
67
+ echo "Published version of $PACKAGE_NAME is $last_published_version "
68
68
manifest_version=$(cargo metadata --format-version=1 --no-deps | jq -r --arg PACKAGE_NAME "$PACKAGE_NAME" '.packages[] | select(.name == $PACKAGE_NAME) | .version')
69
69
echo "Current version in manifest for $PACKAGE_NAME is $manifest_version"
70
70
if [ "$last_published_version" == "$manifest_version" ]; then
71
71
echo "Package $PACKAGE_NAME is already published with version $manifest_version."
72
72
else
73
- echo "Package $PACKAGE_NAME is not published with version $manifest_version."
73
+ echo "Package $PACKAGE_NAME with version $manifest_version is not published ."
74
74
echo "Publishing $PACKAGE_NAME..."
75
75
cargo publish --no-verify --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package "$PACKAGE_NAME"
76
76
fi
You can’t perform that action at this time.
0 commit comments