File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
# not like releases come out so often that we are duty-bound
9
9
# to recalculate this every time.
10
- # git merge-base v2.9.1 master
11
- devbase=" d6f3184fc8 "
10
+ # git merge-base v2.8.2 v2. 9.1 master
11
+ devbase=" df13e31bbb "
12
12
13
13
# reimplementing git describe hopefully in a way which works
14
14
# without any particular tags, branches, or recent versions of git.
15
15
# this is supposed to generate
16
16
# dev-NNNN-g<sha>
17
17
# where NNNN is the number of commits since devbase, which
18
18
# is the merge-base of the most recent release and master.
19
- # Presently hardcoded to reduce uncertainty, v2.9.1/master.
19
+ # Presently hardcoded to reduce uncertainty, v2.8.2/v2. 9.1/master.
20
20
commits=$( git --no-pager log --pretty=oneline $devbase ..HEAD | wc -l)
21
21
sha=$( git rev-list -n 1 HEAD)
22
- printf " dev-%s-g%s\n" $commits ${sha: 0: 7}
22
+ datestr=$( date " +%Y-%m-%d" )
23
+
24
+ printf " rdev-%s-%s-g%s\n" $commits $datestr ${sha: 0: 7}
You can’t perform that action at this time.
0 commit comments