This commit fixes a YAML syntax error in the `.github/workflows/release.yml` file.
The single-line `run` command for extracting the version number was causing parsing issues due to nested quotes. This has been replaced with a multi-line `run` block for better readability and to resolve the syntax error.