1 2 3 4 5 6
#!/bin/sh VERSION="$(git describe)" echo "$VERSION" > packaging/version git add -A git ci -m "[netdata nightly] $VERSION"