File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
33function resolveLatest() {
4- git tag --sort=-taggerdate | head -1
4+ git describe --abbrev=0 --tag
55}
66
77function _hasGitChanges() {
@@ -16,7 +16,7 @@ function tagExists() {
1616function differsFromLatest() {
1717 tag=$( resolveLatest)
1818 headtag=$( git tag -l --points-at HEAD)
19- if tagExists $tag ; then
19+ if tagExists " $tag " ; then
2020 if [ " $tag " == " $headtag " ]; then
2121 # [I] tag $tag exists, and matches tag for the commit
2222 return 1
@@ -40,7 +40,7 @@ function getVersion() {
4040 if _hasGitChanges ; then
4141 result=" $result -raw"
4242 fi
43- echo $result
43+ echo " $result "
4444}
4545
4646getVersion
Original file line number Diff line number Diff line change 1+ # StackState Process Agent releases
2+
3+ ## 2.7.5
4+
5+ ** Bugfix**
6+ - fix versioning script
7+
8+ ## 2.7.4
9+
10+ ** Features**
11+ - Pass the cluster name along with the process metric information so that StackState can determine that the metrics came from Kuberentes/OpenShift.
You can’t perform that action at this time.
0 commit comments