Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mdr0id authored Sep 30, 2024
1 parent 30fcec2 commit 1870409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
COMMIT_HASH=$(git rev-parse --short HEAD)
NEW_VERSION="${VERSION}-pre.${COMMIT_HASH}"
sed -i "s/^version = \".*\"/version = \"${NEW_VERSION}\"/" Cargo.toml
cargo publish --token "${CARGO_REGISTRY_TOKEN}" --allow-dirty
cargo publish --token "${CARGO_REGISTRY_TOKEN}"
else
echo "Not publishing: not a push to master or a tag"
fi

0 comments on commit 1870409

Please sign in to comment.