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 9847824 commit b8770a2
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 ${{ secrets.CRATES_IO_TOKEN }} --allow-dirty
cargo publish --token "${{ secrets.CRATES_IO_TOKEN }}" --allow-dirty
else
echo "Not publishing: not a push to master or a tag"
fi

0 comments on commit b8770a2

Please sign in to comment.