@TrystanLea, something did not quite go as planned…
**Emoncms** Version low-write 9.9.6
Branch: * stable | Describe: 9.9.4-205-g22d2e6c1
Ok so, my bad. I must have translated my test commands badly. To get an annotated tag as opposed to a lightweight tag (which is what Github creates), you need to use the -a
option. So
git tag -a 1.4 -m "my version 1.4"
I think that this can be fixed.
By using the command git log --pretty=oneline
the last 2 commits to Stable are…
22d2e6c1c685982afe4deb17b17921df7b84cb2f Merge pull request #1159 from emoncms/master
53991d68e7c7e5ffc4c494ed2c7da6e350abef9a Update version.txt
And the last few commits to master are
0a74cda9c3d0b1fbf02a68b3c53b7bbdddf7612f readme for emoncms_mqtt service
acbfca04d932e093babc13bbdb71d689e425c83f Update version.txt
ede160083a24f7cc32f6b2026f187157d43bfe97 Update version.txt
53991d68e7c7e5ffc4c494ed2c7da6e350abef9a Update version.txt
The lightweight tag 9.9.6 currently points to this commit
# git show 9.9.6
commit acbfca04d932e093babc13bbdb71d689e425c83f
Author: Trystan Lea <[email protected]>
Date: Tue Feb 12 15:07:13 2019 +0000
Update version.txt
diff --git a/version.txt b/version.txt
index d9e3b748..709d3278 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-9.9.7-beta
+9.9.6
The problem is this commit is not actually in stable…
I Think the command;
git tag -a -f 9.9.6 <commit> -m "The release message"
will set the tag correctly and override any meta data held against it. We just need to pick the right commit number.
You do need to then push the tag as in
git push origin 9.9.6
Alternatively we leave it and try again next time
Reference 1- Git tag