mirror of
https://github.com/0x5t4l1n/Keylogger.git
synced 2026-05-26 11:35:50 +00:00
Fix: Trim whitespace from version string in release workflow
Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
This commit is contained in:
@@ -139,6 +139,8 @@ jobs:
|
||||
else
|
||||
VERSION="${{ inputs.version }}"
|
||||
fi
|
||||
# Trim leading and trailing whitespace
|
||||
VERSION=$(echo "$VERSION" | xargs)
|
||||
echo "version=$VERSION" >> $GITHUB_OUTPUT
|
||||
# Determine if it's a prerelease (contains hyphen after version number)
|
||||
if [[ "$VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+-.+ ]]; then
|
||||
|
||||
Reference in New Issue
Block a user