docker-frp/tag.sh
quackerd 580bfbc143
Some checks failed
continuous-integration/drone/push Build is failing
Add 'tag.sh'
2022-06-20 01:52:05 +00:00

8 lines
233 B
Bash

#!/bin/sh
apk add --no-cache jq curl
VER=$(curl -sL https://api.github.com/repos/fatedier/frp/releases/latest | jq -r ".tag_name")
VER="${VER:1}"
echo $VER
echo -n "$VER,latest" > .tags
sed -i -E "s/var_FRP_VERSION/$VER/" Dockerfile