File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
examples/helloworld/client Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jbangFile.eachLine { line ->
2121 if (line. trim(). startsWith(groupPrefix)) {
2222 def lastColon = line. lastIndexOf(" :" )
2323 if (lastColon != -1 ) {
24- def actualVersion = line. substring(lastColon + 1 ). trim()
24+ def actualVersion = line. substring(lastColon + 1 ). trim(). tokenize()[ 0 ]
2525 if (actualVersion != expectedVersion) {
2626 System . err. println (" [ERROR] JBang Version Mismatch in " + scriptName)
2727 System . err. println (" Expected: " + expectedVersion)
28- System . err. println (" Found: " + actualVersion)
28+ System . err. println (" Found: " + actualVersion + " in line: \" " + line . trim() + " \" " )
2929 success = false
3030 }
3131 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ The release process involves:
1616
1717### Required Accounts & Access
1818- GitHub repository write access to ` a2aproject/a2a-java `
19- - Maven Central account:
` [email protected] ` ( namespace:
` io.github.a2asdk ` ) 19+ - Maven Central account: namespace: ` io.github.a2asdk `
2020
2121### Required Secrets (Repository Maintainers)
2222The following secrets must be configured in GitHub repository settings:
@@ -211,7 +211,7 @@ https://central.sonatype.com/publishing
211211** Cause** : Maven Central tokens expired or incorrect
212212
213213** Fix** : Repository maintainers:
214- 1 . Log in to Maven Central with ` kkhan+ a2asdk@redhat.com `
214+ 1 . Log in to Maven Central with the GitHub account for the a2asdk user.
2152152 . Generate new tokens: ` User → Generate User Token `
2162163 . Update secrets: ` CENTRAL_TOKEN_USERNAME ` and ` CENTRAL_TOKEN_PASSWORD `
217217
Original file line number Diff line number Diff line change 5555 </goals >
5656 <configuration >
5757 <scripts >
58- <script >file:///${project.basedir} /../../.. /.enforcer-scripts/validate-jbang-versions.groovy</script >
58+ <script >file:///${maven.multiModuleProjectDirectory} /.enforcer-scripts/validate-jbang-versions.groovy</script >
5959 </scripts >
6060 </configuration >
6161 </execution >
Original file line number Diff line number Diff line change @@ -128,5 +128,5 @@ echo " Updated $UPDATED_JBANGS JBang script files"
128128echo " "
129129echo " 📋 Next steps:"
130130echo " 1. Review changes: git diff"
131- echo " 2. Verify build: mvn validate "
131+ echo " 2. Verify build: mvn clean install "
132132echo " 3. Commit changes: git commit -am 'chore: release $TO_VERSION '"
You can’t perform that action at this time.
0 commit comments