1 parent d848a3f commit 67d2f33Copy full SHA for 67d2f33
1 file changed
.github/workflows/update_victron_mqtt.yml
@@ -76,11 +76,7 @@ jobs:
76
rm -rf custom_components/victron_mqtt/_vendor/victron_mqtt/utils
77
78
# Write version constant to _vendor/__init__.py
79
- cat > custom_components/victron_mqtt/_vendor/__init__.py << PYEOF
80
-"""Vendored third-party packages."""
81
-
82
-VICTRON_MQTT_VERSION = "$latest"
83
-PYEOF
+ printf '"""Vendored third-party packages."""\n\nVICTRON_MQTT_VERSION = "%s"\n' "$latest" > custom_components/victron_mqtt/_vendor/__init__.py
84
85
# Cleanup
86
rm -rf /tmp/victron_wheel /tmp/victron_extracted
0 commit comments