mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	fix generating build.js
This commit is contained in:
		
							parent
							
								
									f4079604c9
								
							
						
					
					
						commit
						3ebbf2cc46
					
				@ -24,9 +24,9 @@ jq '.version = "'$VERSION'"' package.json|sponge package.json
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
git add package.json
 | 
					git add package.json
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo 'module.exports = { buildDate:"'`date --iso-8601=seconds`'", buildRevision: "'`git log -1 --format="%H"`'" };' > services/build.js
 | 
					echo 'module.exports = { buildDate:"'`date --iso-8601=seconds`'", buildRevision: "'`git log -1 --format="%H"`'" };' > src/services/build.js
 | 
				
			||||||
 | 
					
 | 
				
			||||||
git add services/build.js
 | 
					git add src/services/build.js
 | 
				
			||||||
 | 
					
 | 
				
			||||||
TAG=v$VERSION
 | 
					TAG=v$VERSION
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user