Created
September 23, 2020 12:41
-
-
Save paullaffitte/e33f0148abb16d18895639ac3a658b60 to your computer and use it in GitHub Desktop.
List Semantic-Releases scopes in a git repository
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
git log --pretty=oneline --abbrev-commit | grep -oP '\(([^\)]*)\):' | sort | uniq | cut -c2- | sed 's/..$//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment