Skip to content

Commit

Permalink
Use old-fashioned bash for version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan-wanna-M committed Aug 6, 2024
1 parent e3ab93d commit f368acf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
./docs/header_gen.sh
chmod +x py_filter.sh
export VERSION="dev"
echo $VERSION
echo "PROJECT_NUMBER = $VERSION" >> Doxyfile
3 changes: 2 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
./docs/header_gen.sh
chmod +x py_filter.sh
export VERSION=${{ github.ref_name }}
echo "PROJECT_NUMBER = $VERSION" >> Doxyfile
deploy:

Expand Down
2 changes: 1 addition & 1 deletion Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PROJECT_NAME = "Formatron"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = "$(VERSION)"
# PROJECT_NUMBER = $(VERSION) this somehow does not work

# 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 f368acf

Please sign in to comment.