mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Wrong versionName when not building latest version (#314)
This commit is contained in:
		@@ -8,7 +8,7 @@ ext {
 | 
			
		||||
    // Git is needed in your system PATH for these commands to work.
 | 
			
		||||
    // If it's not installed, you can return a random value as a workaround
 | 
			
		||||
    getCommitCount = {
 | 
			
		||||
        return 'git rev-list --count origin/master'.execute().text.trim()
 | 
			
		||||
        return 'git rev-list --count HEAD'.execute().text.trim()
 | 
			
		||||
        // return "1"
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user