summaryrefslogtreecommitdiffstats
path: root/.github/scripts/bump-packaging-version.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.github/scripts/bump-packaging-version.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/scripts/bump-packaging-version.sh b/.github/scripts/bump-packaging-version.sh
new file mode 100755
index 0000000..bffcb0c
--- /dev/null
+++ b/.github/scripts/bump-packaging-version.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+VERSION="$(git describe)"
+echo "$VERSION" > packaging/version
+git add -A
+git ci -m "[netdata nightly] $VERSION"