We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78de896 commit 56537fdCopy full SHA for 56537fd
make_release.sh
@@ -0,0 +1,27 @@
1
+#!/bin/bash
2
+
3
+set -e
4
5
+kool run make-docs
6
+kool run parse-presets
7
+kool run fmt
8
+kool run lint
9
+kool run test
10
11
+if [ ! -z "$(git status -s)" ]; then
12
+ echo "You have uncommited changes; aborting creating release."
13
+ exit 1
14
+fi
15
16
+read -p "What version do you want to build (0.0.0 semver format): "
17
+if [[ ! $REPLY =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
18
+then
19
+ echo "Bad version format; expected semver 0.0.0"
20
21
22
23
+export BUILD_VERSION=$REPLY
24
25
+exec bash build_artifacts.sh
26
27
+# TODO: create new tag / draft a new release with github CLI
0 commit comments