blob: 93f45dc5b6ee3a94812a33cd526281d4540f3cda [file] [log] [blame]
#!/bin/bash
VERSION=$1
if [ -z "$VERSION" ]; then
echo "Expected patch, minor or major"
exit 1
fi
clog --$VERSION && \
git add CHANGELOG.md && \
git commit -m "Updated changelog" && \
cargo release --execute $VERSION