geoip-geosite-with-ru-block.../tag.sh
Neur0toxine 0144fc7dbb
All checks were successful
continuous-integration/drone/push Build is passing
fix for tag name
2023-11-11 21:44:33 +03:00

12 lines
379 B
Bash
Executable File

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