Skip to content

Commit

Permalink
Made project version in Doxyfile track content of VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSchneider42 committed May 25, 2024
1 parent d236698 commit ce0db75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: sudo apt-get update && sudo apt-get -y install ${dependency_packages}

- name: build
run: cd doc && doxygen ./Doxyfile
run: cd doc && VERSION=$(cat ../VERSION) doxygen ./Doxyfile

- name: deploy
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 1 addition & 1 deletion doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Franky"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 0.2.0
PROJECT_NUMBER = $(VERSION)

# 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 viewer a
Expand Down

0 comments on commit ce0db75

Please sign in to comment.