diff --git a/scripts/tag_esphome_version.ps1 b/scripts/tag_esphome_version.ps1 new file mode 100644 index 0000000..dc07a63 --- /dev/null +++ b/scripts/tag_esphome_version.ps1 @@ -0,0 +1,8 @@ +$version = esphome version +$version = $version.Replace("Version: ", "") + +Write-Output "Tagging the current branch with version: $version" + +git tag -a $version -m "This commit is compatible with ESPHome version $version" + +git push origin $version \ No newline at end of file