File: release.sh

package info (click to toggle)
rust-combine 4.6.6-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 988 kB
  • sloc: sh: 21; makefile: 2
file content (12 lines) | stat: -rwxr-xr-x 239 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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