diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-03-25 19:07:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 19:07:53 +0300 |
commit | 414475f9f87a9bc49b0a27f8cc4c690d6910a13e (patch) | |
tree | 8172389d3959abfe1e5626ba9aa0f5c9184c08e8 /.github/workflows | |
parent | ea4a3bf6c55da8b6cf1dde144d8d2ae854b80243 (diff) | |
download | dokka-414475f9f87a9bc49b0a27f8cc4c690d6910a13e.tar.gz dokka-414475f9f87a9bc49b0a27f8cc4c690d6910a13e.tar.bz2 dokka-414475f9f87a9bc49b0a27f8cc4c690d6910a13e.zip |
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
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/gh-pages.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |