7 lines
282 B
Bash
7 lines
282 B
Bash
#!/bin/sh
|
|
set -eu
|
|
# PowerShell's native-command pipeline appends CR/LF. Runner 2.3.0's
|
|
# --token-file reads bytes verbatim, so remove line endings before it reads stdin.
|
|
# The token is never put into an argument, environment variable, or disk file.
|
|
tr -d '\r\n' | gitea-runner "$@"
|