Skip to content

Commit

Permalink
feat: documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
moreirasantos committed Jun 10, 2024
1 parent cc0bde8 commit 7f82a0e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 15 deletions.
34 changes: 20 additions & 14 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,24 +38,30 @@ 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
with:
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
- 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
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ plugins {
}

group = "io.github.moreirasantos"
version = "1.2.1"
version = file("version.txt").readText().trim()

repositories {
mavenCentral()
Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.2.1

0 comments on commit 7f82a0e

Please sign in to comment.