| ... | ... | @@ -6,6 +6,9 @@ read-log() { |
| 6 | 6 | git log --format=format:"%h%n%H%n%an%n%s%n%d%n" |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | PROJECT_USERNAME=$(echo $GITHUB_REPOSITORY | cut -d'/' -f1) |
| 10 | PROJECT_REPONAME=$(echo $GITHUB_REPOSITORY | cut -d'/' -f2) |
| 11 | |
| 9 | 12 | hash_abrev='' |
| 10 | 13 | hash='' |
| 11 | 14 | author='' |
| ... | ... | @@ -34,7 +37,7 @@ while IFS= read -r lineVAR; do |
| 34 | 37 | if [[ "$t" == '2' ]]; then |
| 35 | 38 | break |
| 36 | 39 | 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 | 41 | fi |
| 39 | 42 | c=$(($c+1)) |
| 40 | 43 | # |