authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-03-06 17:53:53 -08:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-03-06 17:53:53 -08:00
logb6738a401c6b44d1457644f2bc0570662001e9fe
treeefb6114d8d52ba76b3bf3e87d7f48747be1ba305
parenta78f84b42b00260b24a8b4afafae7ed5bc8fade1

changelog.sh- update for being on github actions


1 files changed, 4 insertions(+), 1 deletions(-)

changelog.sh+4-1
...@@ -6,6 +6,9 @@ read-log() {...@@ -6,6 +6,9 @@ read-log() {
6 git log --format=format:"%h%n%H%n%an%n%s%n%d%n"6 git log --format=format:"%h%n%H%n%an%n%s%n%d%n"
7}7}
88
9PROJECT_USERNAME=$(echo $GITHUB_REPOSITORY | cut -d'/' -f1)
10PROJECT_REPONAME=$(echo $GITHUB_REPOSITORY | cut -d'/' -f2)
11
9hash_abrev=''12hash_abrev=''
10hash=''13hash=''
11author=''14author=''
...@@ -34,7 +37,7 @@ while IFS= read -r lineVAR; do...@@ -34,7 +37,7 @@ while IFS= read -r lineVAR; do
34 if [[ "$t" == '2' ]]; then37 if [[ "$t" == '2' ]]; then
35 break38 break
36 fi39 fi
37 echo "<li><a href='https://github.com/nektro/$CIRCLE_PROJECT_REPONAME/commit/$hash'><code>$hash_abrev</code></a> $title ($author)</li>"40 echo "<li><a href='https://github.com/nektro/$PROJECT_REPONAME/commit/$hash'><code>$hash_abrev</code></a> $title ($author)</li>"
38 fi41 fi
39 c=$(($c+1))42 c=$(($c+1))
40 #43 #