1cd ($LogicDir)/lazpaint
2project lazpaint.lpi
3package lazpaintembeddedpack.lpk
4const lazpainttype.pas LazPaintVersion
5text release/windows/lazpaint.iss "#define MyAppVersion ""$(Version)"""
6text release/debian/debian/control "Version: $(Version)"
7text release/macOS/makedmg.sh "appversion=$(Version)"
8bundle release/macOS/LazPaint.app
9copy ../resources/icon/lazpaint.icns release/macOS/LazPaint.app/Contents/Resources/lazpaint.icns
10if exists ../../lazpaint.github.io/app.js
11  text ../../lazpaint.github.io/app.js "    var version = '$(Version)'"
12else
13  echo "WEBSITE FOLDER NOT FOUND, UPDATE MANUALLY app.js"
14end
15echo ">> DON'T FORGET TO ADD VERSION IN release/debian/changelog <<"
16