diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index d937bca..43c7299 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -38,11 +38,10 @@ jobs: path: build release: runs-on: macos-14 - # Disabled for now. - if: false - needs: - - test - - build +# if: github.ref == 'refs/heads/main' +# needs: +# - test +# - build steps: - uses: actions/checkout@v4 - uses: actions/setup-java@v4 @@ -50,12 +49,19 @@ jobs: distribution: 'temurin' java-version: '17' cache: 'gradle' - - name: Set up Homebrew - uses: Homebrew/actions/setup-homebrew@master - - run: brew install libpq - - name: Download build artifacts - uses: actions/download-artifact@v4 - with: - name: build - - run: gradle wrapper --no-daemon - - run: ./gradlew publishAllPublicationsToSonatypeRepository -x check --no-daemon \ No newline at end of file + - run: gpg --list +# - name: Download build artifacts +# uses: actions/download-artifact@v4 +# with: +# name: build +# - run: gradle wrapper --no-daemon +# - run: ./gradlew publishAllPublicationsToSonatypeRepository -x check --no-daemon +# - name: Create release +# env: +# tag: ${{ github.ref_name }} +# run: | +# export tag=$(cat version.txt) +# gh release create "$tag" \ +# --repo="$GITHUB_REPOSITORY" \ +# --title="${GITHUB_REPOSITORY#*/} $tag" \ +# --generate-notes \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index 64638ad..43f49f6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,7 +15,7 @@ plugins { } group = "io.github.moreirasantos" -version = "1.2.1" +version = file("version.txt").readText().trim() repositories { mavenCentral() diff --git a/version.txt b/version.txt new file mode 100644 index 0000000..cb174d5 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +1.2.1 \ No newline at end of file