We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1694402 commit 35ab229Copy full SHA for 35ab229
.clog.toml
@@ -0,0 +1,6 @@
1
+[clog]
2
+repository = "https://github.com/gluon-lang/lsp-types"
3
+
4
+changelog = "CHANGELOG.md"
5
6
+from-latest-tag = true
release.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+set -ex
+LEVEL=$1
+VERSION=$2
+if [ -z "$LEVEL" ]; then
7
+ echo "Expected patch, minor or major"
8
+ exit 1
9
+fi
10
11
+clog --$LEVEL
12
+if [ -z $(head -1 CHANGELOG.md | grep $VERSION) ]; then
13
+ git checkout CHANGELOG.md
14
+ echo "Wrong version specified"
15
16
17
18
+git add CHANGELOG.md
19
+git commit -m "Update changelog"
20
21
+cargo release $VERSION
0 commit comments