Update release documentation to reflect new usage of bump-version script.
		
	This commit is contained in:
		
					parent
					
						
							
								c56d8b4fe9
							
						
					
				
			
			
				commit
				
					
						a81ea1ffde
					
				
			
		
					 1 changed files with 9 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -24,10 +24,17 @@ make sure there are no drafts.
 | 
			
		|||
 | 
			
		||||
## Bump the version
 | 
			
		||||
 | 
			
		||||
Run the `bump-version` script, passing `major`, `minor`, or `patch` as an argument:
 | 
			
		||||
Run the `bump-version` script with arguments according to your need:
 | 
			
		||||
- `--bump=patch` to increment patch version, or
 | 
			
		||||
- `--stable` to indicate this is a stable version, or
 | 
			
		||||
- `--version={version}` to set version number directly.
 | 
			
		||||
 | 
			
		||||
**Note**: you can use both `--bump` and `--stable` simultaneously.
 | 
			
		||||
 | 
			
		||||
There is also a `dry-run` flag you can use to make sure the version number generated is correct before committing.
 | 
			
		||||
 | 
			
		||||
```sh
 | 
			
		||||
npm run bump-version -- patch
 | 
			
		||||
npm run bump-version -- --bump=patch --stable
 | 
			
		||||
git push origin HEAD
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue