mirror of
				https://github.com/astral-sh/uv.git
				synced 2025-11-04 05:34:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			407 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			407 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
# Prepare for a release
 | 
						|
#
 | 
						|
# All additional options are passed to `rooster`
 | 
						|
set -eu
 | 
						|
 | 
						|
script_root="$(realpath "$(dirname "$0")")"
 | 
						|
project_root="$(dirname "$script_root")"
 | 
						|
 | 
						|
echo "Updating metadata with rooster..."
 | 
						|
cd "$project_root"
 | 
						|
 | 
						|
# Update the changelog
 | 
						|
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 -- \
 | 
						|
    rooster release "$@"
 | 
						|
 | 
						|
echo "Updating lockfile..."
 | 
						|
cargo update -p uv
 |