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

12 lines
379 B
Bash
Raw Normal View History

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