mirror of
https://github.com/nuttytree/ESPHome-Devices.git
synced 2024-08-30 18:12:19 +00:00
Script to tag current branch with ESPHome version (#21)
This commit is contained in:
parent
18bb3a8e5e
commit
cb0da23b6f
8
scripts/tag_esphome_version.ps1
Normal file
8
scripts/tag_esphome_version.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user