aboutsummaryrefslogtreecommitdiff
path: root/weechat/update_plugin_header.sh
blob: 0499c1530d10f1d00c50d4bf05e6e0133097772e (plain)
1
2
3
4
5
#!/usr/bin/env bash
set -euo pipefail
version="$(weechat --version)"
echo "Detected weechat v${version}"
curl "https://raw.githubusercontent.com/weechat/weechat/v${version}/src/plugins/weechat-plugin.h" -o weechat-plugin.h