Fix webrtc build
This commit is contained in:
parent
3016fa94ea
commit
38e57cc903
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ jobs:
|
||||||
if test $GITHUB_REF_NAME == "ci" ; then
|
if test $GITHUB_REF_NAME == "ci" ; then
|
||||||
echo ${{ inputs.ref_name }} > webrtcver
|
echo ${{ inputs.ref_name }} > webrtcver
|
||||||
else
|
else
|
||||||
curl --silent https://raw.githubusercontent.com/signalapp/Signal-Desktop/$CI_REF_NAME/package-lock.json | grep "@signalapp/ringrtc\": \"" | awk '{print $2}' | tr -d ',' | tr -d '"' | head -n 1 > ringrtcver
|
curl --silent https://raw.githubusercontent.com/signalapp/Signal-Desktop/$GITHUB_REF_NAME/package-lock.json | grep "@signalapp/ringrtc\": \"" | awk '{print $2}' | tr -d ',' | tr -d '"' | head -n 1 > ringrtcver
|
||||||
read _ringrtcver < ringrtcver
|
read _ringrtcver < ringrtcver
|
||||||
curl --silent https://raw.githubusercontent.com/signalapp/ringrtc/v$_ringrtcver/config/version.properties | awk -F '=' '{if($1 == "webrtc.version"){print $2}}' | head -n 1 > webrtcver
|
curl --silent https://raw.githubusercontent.com/signalapp/ringrtc/v$_ringrtcver/config/version.properties | awk -F '=' '{if($1 == "webrtc.version"){print $2}}' | head -n 1 > webrtcver
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue