Upgrade image helper to allow modrinth specific version id declaration (#1938)

This commit is contained in:
Just Mango
2023-01-30 03:54:28 +07:00
committed by GitHub
parent e0069692e0
commit 104eac4e14
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -793,6 +793,10 @@ For example, the following will auto-download the [EssentialsX](https://www.spig
|
+-- project slug
```
Also, specific version can be declared using colon symbol and version id after the project slug. For instance:
```
-e MODRINTH_PROJECTS=fabric-api,fabric-api:PbVeub96
```
- **MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES**=true : required dependencies of the project will _always_ be downloaded and optional dependencies can also be downloaded by setting this to `true`
- **MODRINTH_ALLOWED_VERSION_TYPE**=release : the version type is used to determine the newest version to use from each project. The allowed values are `release`, `beta`, `alpha`.