diff --git a/.forgejo/workflows/publish.yml b/.forgejo/workflows/publish.yml index 5e01fa2..a498a84 100644 --- a/.forgejo/workflows/publish.yml +++ b/.forgejo/workflows/publish.yml @@ -22,6 +22,6 @@ jobs: - name: Build run: ./gradlew build - name: Publish - run: TL_VERSION=$(git describe --always) ./gradlew publish + run: TL_VERSION=$(git log --oneline | count) ./gradlew publish env: PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}