Skip to content

Commit 67b6002

Browse files
committed
change maven central credentials
1 parent 61a19a2 commit 67b6002

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.github/workflows/publish.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,22 @@ jobs:
3636
echo "Publishing library🚀"
3737
./gradlew publish --no-daemon --no-parallel
3838
echo "Published ✅"
39-
echo "Releasing repository...🚀"
40-
./gradlew closeAndReleaseRepository
41-
echo "Released ✅"
39+
# echo "Releasing repository...🚀"
40+
# ./gradlew releaseRepository
41+
# echo "Released ✅"
4242
env:
4343
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.version }}
4444
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
4545
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
46-
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME }}
47-
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
46+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USERNAME_NEW }}
47+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD_NEW }}
48+
49+
- name: Git Add and Commit
50+
run: |
51+
git config --global user.name 'Yogesh Choudhary Paliyal'
52+
git config --global user.email '[email protected]'
53+
git add .
54+
git commit -am "Github Actions: App version Bumped to ${{ steps.bump-app-version.outputs.newVersion }}"
4855
4956
- name: Git push tag
5057
run: |

speld/gradle.properties

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ POM_SCM_DEV_CONNECTION=scm:git:ssh://[email protected]/yogeshpaliyal/speld.git
1717
POM_DEVELOPER_ID=yogeshpaliyal
1818
POM_DEVELOPER_NAME=Yogesh Choudhary Paliyal
1919
POM_DEVELOPER_URL=https://github.com/yogeshpaliyal/
20-
SONATYPE_HOST=S01
20+
SONATYPE_HOST=CENTRAL_PORTAL
21+
RELEASE_SIGNING_ENABLED=true
22+
SONATYPE_AUTOMATIC_RELEASE=true

0 commit comments

Comments
 (0)