From 414475f9f87a9bc49b0a27f8cc4c690d6910a13e Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Fri, 25 Mar 2022 19:07:53 +0300 Subject: Minor refactoring of dokka versioning and publishing (#2401) * Minor refactoring of dokka versioning and publishing * Added RC version type * Added gradle-plugin-portal as a publication channel * Removed `dokka_version_base` in favour of `dokka_version` * Change dokka_version to the relevant SNAPSHOT * Revert explicit flag for version checking, it will be executed automatically if publication channels are present * Update publish to GH pages script to include SNAPSHOT docs --- .github/workflows/gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 40533252..e2a66c91 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -28,7 +28,7 @@ jobs: java-version: 11 - uses: gradle/gradle-build-action@v2 - name: Get current dokka version - run: echo "DOKKA_VERSION=`./gradlew :properties | grep '^version:.*' | cut -d ' ' -f 2 | cut -d '-' -f 1`" >> $GITHUB_ENV + run: echo "DOKKA_VERSION=`./gradlew :properties | grep '^version:.*' | cut -d ' ' -f 2`" >> $GITHUB_ENV if: github.event_name == 'release' || steps.filter.outputs.docs_changed == 'true' working-directory: ./dokka - name: Build docs -- cgit