Skip to content

Commit

Permalink
Add download button for alphas
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeow committed Feb 1, 2022
1 parent baceb83 commit fecff1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ if(System.getenv('USE_ALPHAS').equals('true')) {
for (org.ajoberstar.grgit.Commit commit : rawLog) {
log = log + "[`" + commit.abbreviatedId + "`](https://github.com/${rootProject.github}/commit/" + commit.id + ") " + commit.shortMessage + " - " + commit.author.name + "\\n";
}
log = log + "\\n**-----Download-----**\\n**[__Fabric__](https://github.com/${rootProject.github}/releases/tag/alpha-${project.version}/${rootProject.mod_id}-${project.version}-fabric.jar) | [__Forge__](https://github.com/${rootProject.github}/releases/tag/alpha-${project.version}/${rootProject.mod_id}-${project.version}-forge.jar)**"
doLast {
exec {
commandLine "echo", "##[set-output name=modid;]${rootProject.mod_id}";
Expand Down

0 comments on commit fecff1a

Please sign in to comment.