Skip to content

Instantly share code, notes, and snippets.

@olamy
Created September 5, 2022 10:14
Show Gist options
  • Save olamy/c26a81af0ca8805b17c53a175a4a708d to your computer and use it in GitHub Desktop.
Save olamy/c26a81af0ca8805b17c53a175a4a708d to your computer and use it in GitHub Desktop.
input="./release.txt"
git tag -l > $input
while IFS= read -r line
do
echo "$line"
# 19 because maven-shade-plugin- :)
version=${line:19}
eval "gh release create --generate-notes --title $version $line"
done < "$input"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment