Attempting to build the lastest tag instead of a hard-coded one
This commit is contained in:
parent
ddecc3800b
commit
ffb0e0dd8c
|
@ -119,7 +119,7 @@ else
|
||||||
if [ "$SNAPSHOT" == "stable" ]; then
|
if [ "$SNAPSHOT" == "stable" ]; then
|
||||||
if [ "$BRANCH" == "" ]; then
|
if [ "$BRANCH" == "" ]; then
|
||||||
echo "About to run some basic commands for debugging..."
|
echo "About to run some basic commands for debugging..."
|
||||||
pwd; ls; git remote -v; git branch -v
|
pwd; ls; git remote -v; git branch -v; git tag -l
|
||||||
echo "About to get the hash of the most recent tag"
|
echo "About to get the hash of the most recent tag"
|
||||||
REV=$(git rev-list --tags --max-count=1)
|
REV=$(git rev-list --tags --max-count=1)
|
||||||
echo "REV = $REV"
|
echo "REV = $REV"
|
||||||
|
|
Loading…
Reference in New Issue