diff --git a/tag.sh b/tag.sh new file mode 100644 index 0000000..95302be --- /dev/null +++ b/tag.sh @@ -0,0 +1,8 @@ +#!/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 \ No newline at end of file