Skip to content

Commit 92eccb6

Browse files
authored
Merge pull request #44 from scijava/fix-adding-badge
github-actionify: fix badge when newly added
2 parents 6d70170 + 0ea7d5d commit 92eccb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github-actionify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ EOL
279279
update README.md 'GitHub Action: fix README.md badge link'
280280
else
281281
info "Adding GitHub Action badge to README.md"
282-
echo "[![SciJava CI](https://$domain/$repoSlug/actions/$gitactionConfig/badge.svg)](https://$domain/$repoSlug/actions/$gitactionConfig)/g" README.md >"$tmpFile"
282+
echo "[![SciJava CI](https://$domain/$repoSlug/actions/$gitactionConfigRoot/badge.svg)](https://$domain/$repoSlug/actions/$gitactionConfigRoot)" >"$tmpFile"
283283
echo >>"$tmpFile"
284284
test -f README.md && cat README.md >>"$tmpFile"
285285
update README.md 'GitHub Action: add badge to README.md'

0 commit comments

Comments
 (0)