blob: 642c5ec0d2f0958d086334aedb679351398ed456 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
set -ex
LEVEL=$1
if [ -z "$LEVEL" ]; then
echo "Expected patch, minor or major"
exit 1
fi
clog --$LEVEL
git add CHANGELOG.md
git commit -m "Update changelog"
cargo release $LEVEL --execute
|