Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 1.19 KB

INTERNAL.md

File metadata and controls

42 lines (34 loc) · 1.19 KB

Guides

Make a Release

  1. run all tests to ensure build will go through
  2. IMPORTANT (don't skip this): make a new local release and smoke test it: bin/local_release.sh
  3. execute the bin/prod_release.sh script
  4. create a new release in github.
    1. select the latest tag
    2. define title as AllFit Version X
    3. release notes: copy feature list from TODO.md
    4. upload both the macOS app (ZIP) and the shadow JAR
    5. hit publish release
  5. update the website in the docs/ folder:
    1. replace the screenshots with current ones
    2. update the version number in the download links
    3. commit, push, wait
    4. click both links verify it works

Limit production data

  1. Connect directly to H2 DB and execute the following:
delete
from WORKOUTS
where START < '2023-05-26';

delete
from CHECKINS
where WORKOUT_ID in (select WORKOUT_ID
                     from WORKOUTS
                     where START < '2023-05-26');

delete
from RESERVATIONS
where WORKOUT_ID in (select WORKOUT_ID
                     from WORKOUTS
                     where START < '2023-05-26')
  1. In the app-config, set the proper dummy date.