trainee-release-with-git

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

Setting up the environment

  1. 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.
  2. Go to your created repository on GitHub and then click Settings
  3. Navigate to Actions -> General section
  4. Select "Allow all actions and reusable workflows" in "Actions permissions" and click Save
  5. Select "Read and write permissions" in "Workflow permissions" and click Save
  6. Go to the now visible Actions tab in your repository
  7. If you are presented the button "Enable GitHub Actions" - click it!
  8. 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!

More info / resources