Explorar o código

Merge branch 'master' of git.ffho.net:FreifunkHochstift/ffho-salt-public

Maximilian Wilhelm %!s(int64=5) %!d(string=hai) anos
pai
achega
559c1d84d5
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      firmware/update-firmware

+ 3 - 0
firmware/update-firmware

@@ -75,6 +75,9 @@ if [ "${LAST_REVISION}" != "${NEW_REVISION}" ] || [ "${FORCE}" -eq "1" ]; then
 	num_commits="$(git log --abbrev-commit --pretty=oneline ${LAST_REVISION}..${NEW_REVISION} | wc -l)"
 	last_msg="$(git log --abbrev-commit --pretty=oneline ${LAST_REVISION}..${NEW_REVISION} | head -n1)"
 
+	# Update models.json
+	scripts/buildModels.py stable models.json
+
 	echo "Firmware-Website updated: ${num_commits} commit(s) (last: ${last_msg})"
 fi
 [ "${VERBOSE}" -eq "1" ] && echo "Finish"