mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 10:33:54 -07:00
Use tag ref as dynamic project number
This commit is contained in:
parent
a69bfb8cb8
commit
5d61cfb133
2 changed files with 9 additions and 2 deletions
6
.github/workflows/documentation-build.yml
vendored
6
.github/workflows/documentation-build.yml
vendored
|
|
@ -11,12 +11,18 @@ on:
|
||||||
- 'doxygen_style.css'
|
- 'doxygen_style.css'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
env:
|
||||||
|
COCKATRICE_REF: ${{ github.ref_name }} # Gives tag name if the commit is tagged, otherwise branch name
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
docs:
|
||||||
name: Doxygen
|
name: Doxygen
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Print environment variable
|
||||||
|
run: echo $COCKATRICE_REF
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
|
|
||||||
5
Doxyfile
5
Doxyfile
|
|
@ -1,4 +1,5 @@
|
||||||
# Doxyfile 1.14.0
|
# Doxyfile 1.14.0
|
||||||
|
# Docs: https://www.doxygen.nl/manual
|
||||||
|
|
||||||
# This file describes the settings to be used by the documentation system
|
# This file describes the settings to be used by the documentation system
|
||||||
# Doxygen (www.doxygen.org) for a project.
|
# Doxygen (www.doxygen.org) for a project.
|
||||||
|
|
@ -48,13 +49,13 @@ PROJECT_NAME = "Cockatrice"
|
||||||
# could be handy for archiving the generated documentation or if some version
|
# could be handy for archiving the generated documentation or if some version
|
||||||
# control system is used.
|
# control system is used.
|
||||||
|
|
||||||
PROJECT_NUMBER = 2.11
|
PROJECT_NUMBER = $(COCKATRICE_REF)
|
||||||
|
|
||||||
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
# Using the PROJECT_BRIEF tag one can provide an optional one line description
|
||||||
# for a project that appears at the top of each page and should give viewers a
|
# for a project that appears at the top of each page and should give viewers a
|
||||||
# quick idea about the purpose of the project. Keep the description short.
|
# quick idea about the purpose of the project. Keep the description short.
|
||||||
|
|
||||||
PROJECT_BRIEF =
|
PROJECT_BRIEF = A cross-platform virtual tabletop for multiplayer card games
|
||||||
|
|
||||||
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
|
# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
|
||||||
# in the documentation. The maximum height of the logo should not exceed 55
|
# in the documentation. The maximum height of the logo should not exceed 55
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue