From b6d7b90eccc90a073701666ebb2e7cced8c10207 Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Tue, 23 Apr 2024 17:18:45 +0530 Subject: [PATCH 1/2] Fixed the workflow issue --- .github/workflows/maven--package-publish.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/maven--package-publish.yml b/.github/workflows/maven--package-publish.yml index f7f37c44..48088b97 100644 --- a/.github/workflows/maven--package-publish.yml +++ b/.github/workflows/maven--package-publish.yml @@ -17,11 +17,15 @@ jobs: java-version: '11' distribution: 'adopt' server-id: ossrh - server-username: ${{ secrets.OSSRH_USERNAME }} - server-password: ${{ secrets.OSSRH_TOKEN }} + server-username: MAVEN_USERNAME + server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} - gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} - - name: Publish package - run: mvn clean deploy + gpg-passphrase: GPG_PASSPHRASE + - name: Publish to Maven Central Repository + run: mvn --batch-mode -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} deploy + env: + MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} # run: mvn --batch-mode deploy From 919d67e14df3a38a3495b5c9b7a2c98a640f8e48 Mon Sep 17 00:00:00 2001 From: reeshika-h Date: Tue, 23 Apr 2024 17:22:20 +0530 Subject: [PATCH 2/2] updated the license from 2023 to 2024 --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 981ba261..d77c7f4e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2012 - 2023 Contentstack +Copyright (c) 2012 - 2024 Contentstack Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal