F.E.I.S/docs/Releases.md
2024-08-02 23:47:26 +02:00

1.4 KiB

How to make releases

Git

  1. Add everything you want in the release to the main branch
  2. Use the utils/bump_version.py script to bump the version
    • $ python utils/bump_version.py {version}
  3. Push the commit and the tag

Release archives

Windows (MSYS2)

  1. Pull the release tag

  2. Follow the compilation instructions

  3. Open an MSYS2 UCRT64 terminal

  4. cd into FEIS's source code root

  5. Use the release making script

    For a regular semver release

    $ python utils/make_windows_release.py
    

    For preview builds

    $ python utils/make_windows_release.py --timestamp
    
  6. Distribute the generated .zip file

Debian

  1. Pull the release tag

  2. Follow the compilation instructions

  3. cd into the packaging/debian folder

  4. Run ./build_deb.sh :

    $ ./build_deb.sh (executable) (assets) (icon)
    

    executable: Path to the FEIS executable you just build, probably named 'FEIS'

    assets: Path to the assets folder to ship with this release

    icon: Path to the app icon

    a typical, fully specified command looks like this :

    $ ./build_deb.sh ../../build_release/FEIS ../../assets/ ../../images/feis\ icon.svg
    
  5. Distribute the generated .deb file, found in the packaging/debian/package folder