diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e74cc25f7..421cffaa9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -35,4 +35,5 @@ jobs: env: CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} \ No newline at end of file + MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} + CLOUDSMITH_MAVEN_TOKEN: ${{ secrets.CLOUDSMITH_MAVEN_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4359029c8..c5cc8e4c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,2 @@ ## Changelog -- first release \ No newline at end of file +- cloudsmith maven \ No newline at end of file diff --git a/README.md b/README.md index 0e5f73139..dce03dbfe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # BedSheet +[![Hosted By: Cloudsmith](https://img.shields.io/badge/OSS%20hosting%20by-cloudsmith-blue?logo=cloudsmith&style=flat-square)](https://cloudsmith.com) Sheet is unofficial Carpet Mod [NeoForge](https://neoforged.net/) port, for Minecraft 1.21.x and above. diff --git a/build.gradle b/build.gradle index 26904ad19..6e7ed5905 100644 --- a/build.gradle +++ b/build.gradle @@ -111,5 +111,17 @@ publishing { maven { url "$projectDir/publish" } + + maven { + name = "cloudsmith" + url = "https://maven.cloudsmith.io/thinkingstudio/bedsheet/" + def releasesRepoUrl = "https://maven.cloudsmith.io/thinkingstudio/bedsheet/" + def snapshotsRepoUrl = "https://maven.cloudsmith.io/thinkingstudio/bedsheet/" + url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl + credentials { + username = 'tex-true' + password = System.getenv("CLOUDSMITH_MAVEN_TOKEN") + } + } } }