File: release.sh

package info (click to toggle)
rust-lsp-types 0.97.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 564 kB
  • sloc: sh: 10; makefile: 4
file content (15 lines) | stat: -rwxr-xr-x 211 bytes parent folder | download | duplicates (8)
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