#!/bin/sh set -eux export VERSION=`date +'%Y-%m-%d %R:%S'` curl -X 'POST' \ 'https://gitea.neur0tx.site/api/v1/repos/xray-addons/geoip-geosite-with-ru-blocklist/tags' \ -H 'accept: application/json' \ -H 'Authorization: '"$GITEA_API_KEY"'' \ -H 'Content-Type: application/json' \ -d '{ "message": "'"$VERSION"': daily release from ci", "tag_name": "'"$VERSION"'", "target": "master" }'