kopia lustrzana https://github.com/miklobit/TiddlyWiki5
				
				
				
			Update `verbump` script to include version number in commit message
Easier to find.print-window-tiddler
							rodzic
							
								
									f3954d374d
								
							
						
					
					
						commit
						7d0b930335
					
				|  | @ -3,13 +3,13 @@ | ||||||
| rem Bump to a new version number | rem Bump to a new version number | ||||||
| 
 | 
 | ||||||
| if "x%1" == "x" ( | if "x%1" == "x" ( | ||||||
| 	echo Missing version (eg '5.0.0-alpha.99'^) | 	echo Missing version (eg '5.0.0-alpha'^) | ||||||
| 	exit 1 | 	exit 1 | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| rem Set the new version number (will also commit and tag the release) | rem Set the new version number (will also commit and tag the release) | ||||||
| 
 | 
 | ||||||
| npm version %1 -m "Version update" || exit 1 | npm version %1 -m "Version number update for %1" || exit 1 | ||||||
| 
 | 
 | ||||||
| rem Make sure our tags are pushed to the origin server | rem Make sure our tags are pushed to the origin server | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -4,13 +4,13 @@ | ||||||
| 
 | 
 | ||||||
| if [ -z "$1" ] | if [ -z "$1" ] | ||||||
|   then |   then | ||||||
|     echo "Missing version (eg '5.0.0-alpha.99')" |     echo "Missing version (eg '5.0.0-alpha')" | ||||||
|     exit 1 |     exit 1 | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| # Set the new version number (will also commit and tag the release) | # Set the new version number (will also commit and tag the release) | ||||||
| 
 | 
 | ||||||
| npm version $1 -m "Version update" || exit 1 | npm version $1 -m "Version number update for $1" || exit 1 | ||||||
| 
 | 
 | ||||||
| # Make sure our tags are pushed to the origin server | # Make sure our tags are pushed to the origin server | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Ładowanie…
	
		Reference in New Issue
	
	 Jermolene
						Jermolene