#Git Release Slack Notification
python3 -m venv noti-env
source noti-env/bin/activate
pip3 install -r requirements.txt
direct run
python main.py
or run on shell
chmod 700 run.sh
./run.sh
slack_channel = "XXXXXXX"
flag_list = ['hardfork', 'fork']
git release template just for support GitHub and GitLab
"ETH": {
"code": "ETH",
"repo": "https://github.com/ethereum/go-ethereum/releases",
"release": "https://api.github.com/repos/ethereum/go-ethereum/releases",
"git": "github"
}
slack_token is slack bot token
slack_token = "xoxb-abacabcabcbacbacbacbac"
slack_template
copy template from Block Kit Builder
slack_template = {
"header": {
"type": "header",
"text": {
"type": "plain_text",
"text": "Coin Release Update"
}
},
"divider": {
"type": "divider"
},
"section": {
"type": "section",
"text": {
"type": "mrkdwn",
"text": ""
}
},
"context": {
"type": "context",
"elements": [
{
"type": "mrkdwn",
"text": ""
}
]
}
}