geoip-geosite-with-ru-block.../tag.sh

13 lines
401 B
Bash
Raw Normal View History

2023-11-11 21:36:11 +03:00
#!/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' \
2023-11-11 21:38:15 +03:00
-H 'Authorization: '"$GITEA_API_KEY"'' \
2023-11-11 21:36:11 +03:00
-H 'Content-Type: application/json' \
-d '{
"message": "'"$VERSION"': daily release from ci",
"tag_name": "'"$VERSION"'",
"target": "master"
}'