<commit_before>
* RELEASE SCRIPT = `$ ./scripts/release.sh`
* BUILD DIR = `${CWD}/../gadsu_release_build`

# Preconditions

* check all GitHub issues are closed
* execute manual smoke tests
* check everything has been pushed to GIT
* check the build dir does not exist

# Release Script

* start the RELEASE SCRIPT
* specify release and next dev version; e.g.: `1.4.0` and `1.5.0-SNAPSHOT`
* wait until the build is done and find artifacts in the BUILD DIR

```
$ ./scripts/release.sh 

[RELEASE] Preparing new GADSU release
[RELEASE] ====================================
[RELEASE] Current version is: 1.4.0-SNAPSHOT

Enter RELEASE Version: 1.4.0
Enter next DEVELOPMENT Version: 1.5.0-SNAPSHOT

[RELEASE] Release Summary:
[RELEASE] ------------------------------------
[RELEASE]   Release Version: 1.4.0
[RELEASE]   Development Version: 1.5.0-SNAPSHOT
[RELEASE]   Build Directory: /Users/John/Dev/gadsu/../gadsu_release_build

[RELEASE] Do you confirm this release? [y/n] >>
 
...

[RELEASE] GIT push
[RELEASE] ------------------------------------
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (7/7), 643 bytes | 0 bytes/s, done.
Total 7 (delta 2), reused 0 (delta 0)
To https://github.com/christophpickl/gadsu.git
   c2cd588..ec52680  master -> master


[RELEASE] Release 1.4.0 SUCCESSFULL
[RELEASE] ====================================

[RELEASE] Time needed: 283 seconds
[RELEASE] Copy the contents of the artifacts directory: /Users/John/Dev/gadsu/../gadsu_release_build/release_artifacts
total 327848
-rw-r--r--@ 1 wu  staff  56525158 Jul 14 18:48 Gadsu-1.4.0.dmg
-rw-r--r--  1 wu  staff  55629462 Jul 14 18:48 Gadsu-1.4.0.jar
-rwxr-xr-x  1 wu  staff  55693462 Jul 14 18:48 Gadsu.exe
 
$ 
```

# Postdoings

* make a backup of local `~/.gadsu` folder
* start the APP and JAR (and EXE if possible), and verify functionality via smoke tests
* draft a new release on github: https://github.com/christophpickl/gadsu/releases
* ...

# Optional

* update screenshot on website

<commit_msg>howto<commit_after>
* RELEASE SCRIPT = `$ ./scripts/release.sh`
* BUILD DIR = `${CWD}/../gadsu_release_build`

# Preconditions

* check everything has been pushed to GIT!!!
* check all GitHub issues are closed
* execute manual smoke tests
* check the build dir does not exist

# Release Script

* start the RELEASE SCRIPT
* specify release and next dev version; e.g.: `1.4.0` and `1.5.0-SNAPSHOT`
* wait until the build is done and find artifacts in the BUILD DIR

```
$ ./scripts/release.sh 

[RELEASE] Preparing new GADSU release
[RELEASE] ====================================
[RELEASE] Current version is: 1.4.0-SNAPSHOT

Enter RELEASE Version: 1.4.0
Enter next DEVELOPMENT Version: 1.5.0-SNAPSHOT

[RELEASE] Release Summary:
[RELEASE] ------------------------------------
[RELEASE]   Release Version: 1.4.0
[RELEASE]   Development Version: 1.5.0-SNAPSHOT
[RELEASE]   Build Directory: /Users/John/Dev/gadsu/../gadsu_release_build

[RELEASE] Do you confirm this release? [y/n] >>
 
...

[RELEASE] GIT push
[RELEASE] ------------------------------------
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (7/7), 643 bytes | 0 bytes/s, done.
Total 7 (delta 2), reused 0 (delta 0)
To https://github.com/christophpickl/gadsu.git
   c2cd588..ec52680  master -> master


[RELEASE] Release 1.4.0 SUCCESSFULL
[RELEASE] ====================================

[RELEASE] Time needed: 283 seconds
[RELEASE] Copy the contents of the artifacts directory: /Users/John/Dev/gadsu/../gadsu_release_build/release_artifacts
total 327848
-rw-r--r--@ 1 wu  staff  56525158 Jul 14 18:48 Gadsu-1.4.0.dmg
-rw-r--r--  1 wu  staff  55629462 Jul 14 18:48 Gadsu-1.4.0.jar
-rwxr-xr-x  1 wu  staff  55693462 Jul 14 18:48 Gadsu.exe
 
$ 
```

# Postdoings

* make a backup of local `~/.gadsu` folder
* start the APP and JAR (and EXE if possible), and verify functionality via smoke tests
    * if there was an error, fix it, and create new x.x.1 bugfix version
* pull changes from remote git repo to local
* copy the released artifacts to the local __Gadsu/Releases directory
* draft a new release on github: https://github.com/christophpickl/gadsu/releases
    * list all resolved issues for this milestone



* #22 UI Improvements 1.4 user interface
* #31 Active flag for clients enhancement
* #33 More client input fields enhancement
* #35 Treatment goal progress bar enhancement
* #37 Save print report produces corrupt PDF bug


# Optional

* update screenshot on website


{'fraction_non_alphanumeric': 0.16601392515230634, 'fraction_numerical': 0.05200174064403829, 'mean_word_length': 3.3449905482041586, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4786381', 'n_tokens_mistral': 1720, 'n_tokens_neox': 1497, 'n_words': 529}