diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c7b6f36b..dbf9e231 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,8 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - with: - ref: ci-auto-version-bump - - name: Bump version + - name: Bump version in gradle.properties run: | newVersion=$(echo $newVersion | sed 's/^v//') sed -i.bak "s/^version=.*/version=$newVersion/" gradle.properties @@ -40,7 +38,7 @@ jobs: - name: Push changes run: | - git push origin ci-auto-version-bump + git push origin master # Push tag git push origin $newVersion @@ -73,12 +71,12 @@ jobs: with: file: ${{ needs.build.outputs.uber-jar }} tags: true - draft: true + draft: false tag_name: ${{ github.event.inputs.tag_name }} - # - name: Deploy to Maven Central repository - # run: ./gradlew publish - # env: - # MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_REPO_USERNAME }} - # MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} - # GRADLE_SIGNING_KEY: ${{ secrets.GRADLE_SIGNING_KEY }} - # GRADLE_SIGNING_PASSWORD: ${{ secrets.GRADLE_SIGNING_PASSWORD }} + - name: Deploy to Maven Central repository + run: ./gradlew publish + env: + MAVEN_REPO_USERNAME: ${{ secrets.MAVEN_REPO_USERNAME }} + MAVEN_REPO_PASSWORD: ${{ secrets.MAVEN_REPO_PASSWORD }} + GRADLE_SIGNING_KEY: ${{ secrets.GRADLE_SIGNING_KEY }} + GRADLE_SIGNING_PASSWORD: ${{ secrets.GRADLE_SIGNING_PASSWORD }} diff --git a/gradle.properties b/gradle.properties index 5f51e952..8e1b90d9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=3.0.999 +version=3.5.0 jdbcVersion=4.3