Skip to content

Fix release script empty version display#638

Merged
robstryker merged 1 commit into
masterfrom
issue-637-release-script-version
May 14, 2026
Merged

Fix release script empty version display#638
robstryker merged 1 commit into
masterfrom
issue-637-release-script-version

Conversation

@robstryker
Copy link
Copy Markdown
Contributor

Fixes #637

Summary

  • Fix release script displaying empty version variable
  • Move variable assignments before echo statement

Problem

The script was trying to echo $oldver before it was assigned, resulting in:

Old version is 
Let's tag the release

Solution

Moved the variable assignments (lines 67-69) to before the echo statement (line 64) so the version is extracted from package.json before being displayed.

Test plan

  • Run the release script and verify it now displays:
Old version is 0.26.21
Let's tag the release

🤖 Generated with Claude Code

The release script was echoing $oldver before it was assigned,
resulting in "Old version is " with no version number shown.

Moved the variable assignments (oldver, oldVerUnderscore,
vOldVerUnderscoreFinal) to before the echo statement so the
version is extracted from package.json before being displayed.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@robstryker robstryker merged commit 2294a93 into master May 14, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release script displays empty version variable

1 participant