mirror of
https://github.com/0x5t4l1n/Keylogger.git
synced 2026-05-26 11:35:50 +00:00
Merge pull request #26 from Stalin-143/copilot/fix-version-format-whitespace
[WIP] Fix leading whitespace in version string for GitHub Actions
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