---
# System prepended metadata

title: Release Script New

---

# Release Script New
Auto Generate Monika Release Script


## Requirements 
1. Mac OS
2. Powershell Core
3. Git
4. Checked out Monika & Laplace(Optional)

> If you don't know how to install powershel core on mac, check [Here](https://letmegooglethat.com/?q=how+to+install+powershell+core+on+mac)

## Suggest Monika Working Flow
1. Commit item in master
2. Generate Release Script via this tool
3. Merge to Prod After Release

> Hint : If you Merge branch before generate script, you have to choose commit id by your self.

## Usage
1. Make your git repo clean (no uncommitted)
2. ```cd {Your_Monika_Path}/Script/GenerateReleaseScript```
3. ```./GenerateReleaseScript_New.ps1```
4. Use Auto or Provide Your dedicated commit hash
5. Ta Da!

## Post Check
1. Check does Console have error message during generation **!!!Very Important!!!**
2. Check does it have Any DbConfigNewXXXX relatives, (If you know there are some new env release)
3. Check Theme files (It will truncate all, make sure insert back)
4. Check Log file (picked commit and changed files)

## Knowledge
- Auto mode will diff between current master and prod
- The generated files can be collapse by file if your text editor/ssms support
- Generated Files will show source file on top of block