Script to tag current branch with ESPHome version (#21)

This commit is contained in:
Chris Nussbaum 2021-09-09 07:45:59 -05:00 committed by GitHub
parent 18bb3a8e5e
commit cb0da23b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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