fix: Remove unnecessary blank lines in version update scripts
This commit is contained in:
parent
6ff3109223
commit
1a78a1f1c9
3 changed files with 6 additions and 6 deletions
|
|
@ -97,7 +97,7 @@ Invalid examples:
|
|||
```bash
|
||||
# On Windows
|
||||
.\update_version.ps1 0.2.0
|
||||
|
||||
|
||||
# On Linux/macOS
|
||||
./update_version.sh 0.2.0
|
||||
```
|
||||
|
|
@ -106,10 +106,10 @@ Invalid examples:
|
|||
```bash
|
||||
# Using Python
|
||||
python build_wheel.py
|
||||
|
||||
|
||||
# Or PowerShell
|
||||
.\build_wheel.ps1
|
||||
|
||||
|
||||
# Or Bash
|
||||
./build_wheel.sh
|
||||
```
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ $projectRoot = Split-Path -Parent $PSCommandPath
|
|||
$pyprojectPath = Join-Path $projectRoot "pyproject.toml"
|
||||
$initPath = Join-Path (Join-Path $projectRoot "elytra_client") "__init__.py"
|
||||
|
||||
Write-Host "======================================================================"
|
||||
Write-Host "======================================================================"
|
||||
Write-Host "Updating Elytra PIM Client to version $Version"
|
||||
Write-Host "======================================================================"
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ update_file() {
|
|||
# Check if content would change
|
||||
local content
|
||||
content=$(cat "$file_path")
|
||||
|
||||
|
||||
# Use sed to update the file (handles both macOS and Linux)
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
# macOS requires -i '' for in-place editing
|
||||
|
|
@ -52,7 +52,7 @@ update_file() {
|
|||
|
||||
local new_content
|
||||
new_content=$(cat "$file_path")
|
||||
|
||||
|
||||
if [[ "$content" == "$new_content" ]]; then
|
||||
echo -e "${GREEN}✓ $(basename "$file_path") already up-to-date${NC}"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue