Skip to content

Commit eacbdc3

Browse files
committed
Cosmetic: update detailed version
1 parent 4aa47ac commit eacbdc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/version.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
light = ARGV.first == 'light'
22

3+
nickname = `git rev-parse --abbrev-ref HEAD`.strip
34
vbase, vhead, vhcommit = `git describe --tags HEAD`.strip.split('-')
4-
branch = vbase['M'] ? 'master' : 'stable'
5+
branch = nickname == 'Yuuki' ? 'stable' : 'old-stable'
56
_, vmaster, vmcommit = `git describe --tags origin/#{branch}`.strip.split('-')
67

78
version = ''

0 commit comments

Comments
 (0)