What To Do

  1. Create repository on GitHub

  2. In your root folder, make sure you have a snap folder containing the file snapcraft.yaml

  3. On the raspberry pi running ubuntu server, git clone the github repository

  4. Make sure you have snapcraft installed by sudo snap install --classic snapcraft

  5. Init a snapcraft project by running snapcraft init in your cloned repository

  6. Start building by running sudo snapcraft

  7. After the build has been completed, login to your account with snapcraft login

  8. Followed by registering your app by snapcraft register [name of the app]

  9. After the build, there should be a .snap file, snapcraft push hello-javier_2.10_amd64.snap --release=candidate

  10. Finally snapcraft release [name of the app] [version] stable