6 # make sure we are in the good directory
9 # pull the latest changes
18 # create the sources tgz in the release directory
20 tar czf .
/opentx.tgz opentx
/radio
/src opentx
/radio
/util
22 # copy the stamp and the release-notes to the http server
23 cd ~opentx
/release-20
/
24 cp opentx
/radio
/src
/stamp-opentx.txt
/var
/www
/html
/downloads-20
/firmware
/
25 cp opentx
/radio
/releasenotes.txt
/var
/www
/html
/downloads-20
/firmware
/
26 cp opentx
/radio
/src
/lua_fields.txt
/var
/www
/html
/downloads-20
/firmware
/
28 # erase all previous builds
29 rm -f /var
/www
/html
/downloads-20
/firmware
/binaries
/opentx
*.hex
30 rm -f /var
/www
/html
/downloads-20
/firmware
/binaries
/opentx
*.bin