Skip to content

Commit 7431a56

Browse files
committed
Get MODRINTH_TOKEN env variable through providers, adjust README.md
1 parent 83024a2 commit 7431a56

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ more.
5757
Found a bug? Report it [here](https://github.com/EternalCodeTeam/ParcelLockers/issues). If you are not sure if that's an
5858
intended behavior or not, feel free to ask on our [Discord](https://discord.com/invite/FQ7jmGBd6c) 😅
5959

60-
## :heart: Special Thanks
60+
## ❤️ Special Thanks
6161

6262
[<img src="https://user-images.githubusercontent.com/65517973/210912946-447a6b9a-2685-4796-9482-a44bffc727ce.png" alt="JetBrains" width="150">](https://www.jetbrains.com)
63-
[<img src=".github/assets/sentry.svg" alt="Sentry logo" width="150" height="150">](https://www.sentry.io)
63+
[<img src="https://github.com/EternalCodeTeam/ParcelLockers/blob/master/.github/assets/sentry.svg?raw=true" alt="Sentry logo" width="150" height="150">](https://www.sentry.io)
6464

6565
We express our gratitude to JetBrains for providing [Open Source Licenses](https://www.jetbrains.com/opensource/) for
6666
their outstanding tools. We recommend using [IntelliJ IDEA](https://www.jetbrains.com/idea/) to work with our projects

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ tasks.withType<JavaCompile> {
131131
}
132132

133133
modrinth {
134-
token.set(System.getenv("MODRINTH_TOKEN"))
134+
token.set(providers.environmentVariable("MODRINTH_TOKEN"))
135135
projectId.set("parcellockers")
136136
versionNumber.set(project.version.toString())
137137
versionType.set(getVersionType(project.version.toString()))

0 commit comments

Comments
 (0)