This is the trainee course material for the session "Release with Git" which aims to build upon the course Version Control With Git.
The slides for this course can be found at F:/Common/Training/Trainee/Trainee 2023/Trainee 2023 - reunion Q1 (start in Q3 22)/Sessions/2023-01-13 (AC+SE) Releasing software with Git (JOA)
The exercises of this course touches these topics:
- Conventional Commits
- Semantic Release
- GitHub Actions Workflows
- Automated releases on GitHub
- Working with Pre-Releases
- Fixup commits and interactive rebasing
- Copy this repository to your personal GitHub account using the Import repository feature on GitHub. Important: Don't fork the repository and if you choose to make your imported repository private, you may need to add access for your trainer.
- Go to your created repository on GitHub and then click Settings
- Navigate to Actions -> General section
- Select "Allow all actions and reusable workflows" in "Actions permissions" and click Save
- Select "Read and write permissions" in "Workflow permissions" and click Save
- Go to the now visible Actions tab in your repository
- If you are presented the button "Enable GitHub Actions" - click it!
- Clone the repository created under your personal account
During this course you can use the tools you normally use to work with Git, but it's recommended to use the Git CLI. Although tools like VSCode offer a GUI to do commits and rebase operations, it does not currently allow the user to make fixup commits.
Once you're done, pop over to the exercises and let the fun begin!