Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/TagUpdater.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Update references of certain tags

on:
release:
types: [ published ]

jobs:
actions-tagger:
runs-on: ubuntu-latest
steps:
- uses: Actions-R-Us/actions-tagger@latest
with:
publish_latest_tag: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A GitHub action that validates all entries in the-mod-index. Will fail if any en
```yaml
steps:
- name: Do the checking of index and manifest files
uses: reviversmc/the-mod-index-validation@"latest version"
uses: reviversmc/the-mod-index-validation@latest
with:
repoUrl: https://raw.githubusercontent.com/ReviversMC/the-mod-index/v4
```
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ plugins {
}

group = "com.github.reviversmc.themodindex.validation"
version = "4.1.4"
version = "4.1.5"

repositories {
mavenCentral()
maven("https://jitpack.io")
}

dependencies {
api("com.github.reviversmc:the-mod-index-api:6.0.0")
api("com.github.reviversmc:the-mod-index-api:7.0.0")
api("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.2")
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fun main(args: Array<String>) {
if (collidedIdentifiers != collidedIdentifiers.filter { it.split(":")[1] == name }) {
throw IllegalStateException("Hash collision found for the follow projects. A hash collision occurs when two or more different projects (the same project for a different mod loader does not count as separate projects) have the same hash for a file.\n" +
"Projects: ${collidedIdentifiers.joinToString(", ")}\n" +
"Hash: $versionHashes[$i]")
"Hash: ${versionHashes[i]}")
}
}
}
Expand Down