Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vulkan2021
VkCV Framework
Commits
d38c9d13
Verified
Commit
d38c9d13
authored
2 years ago
by
Tobias Frisch
Browse files
Options
Downloads
Patches
Plain Diff
Updated version in Doxyfile automatically
Signed-off-by:
Tobias Frisch
<
tfrisch@uni-koblenz.de
>
parent
a1b46bef
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Doxyfile
+1
-1
1 addition, 1 deletion
Doxyfile
scripts/release.sh
+1
-1
1 addition, 1 deletion
scripts/release.sh
scripts/upload_docs.sh
+7
-0
7 additions, 0 deletions
scripts/upload_docs.sh
with
9 additions
and
2 deletions
Doxyfile
+
1
−
1
View file @
d38c9d13
...
...
@@ -38,7 +38,7 @@ PROJECT_NAME = "VkCV Framework"
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 0.
0.1
PROJECT_NUMBER = 0.
1.0
# 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
...
...
This diff is collapsed.
Click to expand it.
scripts/release.sh
+
1
−
1
View file @
d38c9d13
...
...
@@ -6,7 +6,7 @@ if [ "$VKCV_BRANCH" != "develop" ]; then
exit
fi
VKCV_VERSION
=
"
$(
cat
include/vkcv/Core.hpp |
grep
"#define
VKCV_FRAMEWORK_VERSION
"
|
awk
'NR == 1 { $1=""; $2=""; print }'
|
sed
-e
's/[^0-9 ]//g'
--
|
awk
'{print $1"."$2"."$3
}'
)
"
VKCV_VERSION
=
"
$(
grep
-oEi
"#define
.+
VKCV_FRAMEWORK_VERSION
.+
\(
VK_MAKE_VERSION
\(
([0-9]+,.*[0-9]+,.*[0-9]+)
\)\)
"
include/vkcv/Core.hpp |
awk
'match($0, /.*\(([0-9]+),.*([0-9]+),.*([0-9]+)\)/, a) {print a[1]"."a[2]"."a[3]
}'
)
"
if
[
$(
git tag |
grep
"
$VKCV_VERSION
"
|
wc
-l
)
-gt
0
]
;
then
echo
"WARNING: Please adjust the version of the framework before uploading a release! (Duplicate version:
$VKCV_VERSION
)"
...
...
This diff is collapsed.
Click to expand it.
scripts/upload_docs.sh
+
7
−
0
View file @
d38c9d13
#!/bin/sh
VKCV_VERSION
=
"
$(
grep
-oEi
"#define.+VKCV_FRAMEWORK_VERSION.+
\(
VK_MAKE_VERSION
\(
([0-9]+,.*[0-9]+,.*[0-9]+)
\)\)
"
include/vkcv/Core.hpp |
awk
'match($0, /.*\(([0-9]+),.*([0-9]+),.*([0-9]+)\)/, a) {print a[1]"."a[2]"."a[3]}'
)
"
DOXYFILE_TMP
=
$(
mktemp
)
sed
-r
"s/(PROJECT_NUMBER.*=.*)([0-9]+
\.
[0-9]+
\.
[0-9]+)/
\1
$VKCV_VERSION
/"
Doxyfile
>
$DOXYFILE_TMP
mv
$DOXYFILE_TMP
Doxyfile
doxygen Doxyfile
rsync
-r
doc/html/ vkcv@penguin2.uni-koblenz.de:/home/vkcv/public_html/doc/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment