Skip to content

Commit

Permalink
chore: update build file
Browse files Browse the repository at this point in the history
  • Loading branch information
mohnoor94 committed Sep 12, 2024
1 parent 230b25d commit 0c176bf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
git config user.email [email protected]
echo "branch_name=release/${{ inputs.version }}" >> $GITHUB_OUTPUT
- name: Prepare Release
id: prepare_release
run: |
cd code
chmod a+x ../gradlew && ../gradlew --no-daemon versionsSet -Pversion=${{ inputs.version }}
# - name: Prepare Release
# id: prepare_release
# run: |
# cd code
# chmod a+x ../gradlew && ../gradlew --no-daemon versionsSet -Pversion=${{ inputs.version }}

- name: Create PR
uses: peter-evans/create-pull-request@v7
Expand All @@ -57,7 +57,7 @@ jobs:
OSSRH_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
run: |
echo "Publishing version ${{ inputs.version }}"
./gradlew tasks
gradle tasks
echo "-------------------"
cd code
../gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion=${{ inputs.version }}
gradle publishToSonatype closeAndReleaseSonatypeStagingRepository -Pversion=${{ inputs.version }}

0 comments on commit 0c176bf

Please sign in to comment.