Skip to content

Commit 3f4f083

Browse files
committed
Strip whitespace when reading version.txt: Publish Edition
1 parent f4afdfe commit 3f4f083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/publish/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66

77
import com.modrinth.minotaur.TaskModrinthUpload
88

9-
def buildVersion = new File("${projectDir}/../version.txt").getText('UTF-8')
9+
def buildVersion = new File("${projectDir}/../version.txt").getText('UTF-8').trim()
1010
def changeLog = new File("${projectDir}/changelog.md").getText('UTF-8')
1111
ext.gameVersions = file("gameVersions.txt").getText('UTF-8').split(" ")
1212

0 commit comments

Comments
 (0)