Skip to content

Commit b04ef4c

Browse files
committed
Attempt at central publishing 2
1 parent d21a4be commit b04ef4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ EntityLib uses the new Maven Central publishing system via the Central Portal (r
141141

142142
### Setting Up Central Portal Credentials
143143
1. Go to [Central Portal](https://central.sonatype.com/) and log in with your GitHub account.
144-
2. Create a namespace for your group ID (`io.github.tofaa2`).
144+
2. **Create a namespace**: In the "Namespaces" section, create a new namespace for your group ID (`io.github.tofaa2`). This is crucial for publishing to work.
145145
3. Generate a publishing token from the "Account Settings" > "Publishing Tokens".
146146
4. Use your email as the username and the token as the password.
147147

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ fun getVersionMeta(includeHash: Boolean): String {
2121
}
2222
return "$commitHash-SNAPSHOT"
2323
}
24-
version = "$fullVersion${getVersionMeta(true)}"
25-
ext["versionBeta"] = getVersionMeta(true)
24+
version = "$fullVersion${getVersionMeta(false)}"
25+
ext["versionBeta"] = getVersionMeta(false)
2626
ext["versionNoHash"] = "$fullVersion${getVersionMeta(false)}"
2727

2828
tasks {

0 commit comments

Comments
 (0)