Update '.drone.yml'
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
quackerd 2022-06-20 01:51:07 +00:00
parent b8b09e924b
commit 12ecdd19d4

View File

@ -12,8 +12,7 @@ steps:
commands: commands:
- apk add --no-cache jq curl - apk add --no-cache jq curl
- VER=$(curl -sL https://api.github.com/repos/fatedier/frp/releases/latest | jq -r ".tag_name") - VER=$(curl -sL https://api.github.com/repos/fatedier/frp/releases/latest | jq -r ".tag_name")
- echo $VER - 'VER="${VER:1}"'
- VER="${VER:1}"
- echo $VER - echo $VER
- echo -n "$VER,latest" > .tags - echo -n "$VER,latest" > .tags
- sed -i -E "s/var_FRP_VERSION/$VER/" Dockerfile - sed -i -E "s/var_FRP_VERSION/$VER/" Dockerfile