Skip to content

Commit

Permalink
fix make + create release
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jul 8, 2024
1 parent ae1f725 commit 63ea55d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ jobs:
name: ${{ matrix.qgis_version }}
path: ./build/

- name: Release
uses: softprops/action-gh-release@v2
if: ${{ github.event_name != 'pull_request' && matrix.qgis_version != 'master' }}
with:
tag_name: ${{ env.QGIS_VERSION }}
files: ./build/${{ env.QGIS_VERSION }}

publish-docs:
if: ${{ github.event_name != 'pull_request' }}
name: Publish HTML
Expand Down
6 changes: 3 additions & 3 deletions conf.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ copyright = u'2018, QGIS project'
# built documents.
#
# The short X.Y version.
version = '__QGISVERSION__'
version = '__QGIS_VERSION__'
# The full version, including alpha/beta/rc tags.
release = '__QGISVERSION__'
release = '__QGIS_VERSION__'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down Expand Up @@ -183,7 +183,7 @@ htmlhelp_basename = 'QGISAPIDOC'

rst_prolog = """
.. role:: disclaimer
.. |updatedisclaimer| replace:: :disclaimer:`Docs for 'QGIS __QGISVERSION__'`
.. |updatedisclaimer| replace:: :disclaimer:`Docs for 'QGIS __QGIS_VERSION__'`
"""

# Substitutions icons below are sorted
Expand Down

0 comments on commit 63ea55d

Please sign in to comment.