Skip to content

Commit

Permalink
fix(profile): write correct changelog file name to Deck settings.js (#…
Browse files Browse the repository at this point in the history
…1715)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
maggieneterval and mergify[bot] committed Jun 16, 2020
1 parent 44ebd9a commit a8ae1ec
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -101,7 +101,7 @@ protected void setProfile(
if (validatedVersion.isPresent()) {
String changelog = validatedVersion.get().getChangelog();
bindings.put("changelog.gist.id", changelog.substring(changelog.lastIndexOf("/") + 1));
bindings.put("changelog.gist.name", "changelog.md");
bindings.put("changelog.gist.name", String.format("%s.md", version));
} else {
bindings.put("changelog.gist.id", "");
bindings.put("changelog.gist.name", "");
Expand Down

0 comments on commit a8ae1ec

Please sign in to comment.