Weekly Blog Post #2

Published: 07/09/2022

Enhancing GitHub workflows with Semantic Release

Hello everyone, second week with Google Summer of Code had come to an end with EOS Design Systems.

What did I do this week?

This week was primarily focused on updating workflows to implement Semantic Releases. semantic-release automates the whole package release workflow including: determining the next version number, generating the release notes, and publishing the package. semantic-release uses the commit messages to determine the consumer impact of changes in the codebase. For this, I had to alter the repository's package file and Github workflow file, which will aid in triggering a certain release depending on the nature of the commit message.

This week, I created up workflows for the Adobe Xd and Figma repositories of the EOS Icons Plugins. The workflow was pushed to the main repositories and the workflow successfully passed the semantic-release workflow for EOS Icons Figma Plugin. Branch protection issue GH006 is affecting the EOS Icons Adobe Xd repository, and I'll fix it as soon as I can.

What is coming up next?

For the upcoming week, I will be resolving the branch conflicts occurring in EOS Icons Adobe Xd repository which are creating issues while running workflows and preventing semantic, release a version. Also, I will be updating the documentation in both the repositories on how to release a version based on a commit message.

Did I get stuck anywhere? 

The workflows failed at @semantic-release/commit-analyser when the branch was being pushed to the main. But I must give special thanks to my mentors, Kartikey Bhutani and Vinayak Sharma, who were really helpful to me during this.