Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
451f5399
Commit
451f5399
authored
5 years ago
by
Brian Carrier
Browse files
Options
Downloads
Patches
Plain Diff
Updated release script to update Doxygen version
parent
50917ac0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bindings/java/doxygen/Doxyfile
+2
-0
2 additions, 0 deletions
bindings/java/doxygen/Doxyfile
release/release-unix.pl
+38
-0
38 additions, 0 deletions
release/release-unix.pl
with
40 additions
and
0 deletions
bindings/java/doxygen/Doxyfile
+
2
−
0
View file @
451f5399
...
...
@@ -38,6 +38,7 @@ PROJECT_NAME = "Sleuth Kit Java Bindings (JNI)"
# could be handy for archiving the generated documentation or if some version
# control system is used.
# NOTE: This is updated by the release-unix.pl script
PROJECT_NUMBER = 4.8.0
# Using the PROJECT_BRIEF tag one can provide an optional one line description
...
...
@@ -1048,6 +1049,7 @@ GENERATE_HTML = YES
# The default directory is: html.
# This tag requires that the tag GENERATE_HTML is set to YES.
# NOTE: This is updated by the release-unix.pl script
HTML_OUTPUT = jni-docs/4.8.0/
# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
...
...
This diff is collapsed.
Click to expand it.
release/release-unix.pl
+
38
−
0
View file @
451f5399
...
...
@@ -417,6 +417,43 @@ sub update_buildxml {
rename
(
$OFILE
,
$IFILE
)
or
die
"
Error renaming
$OFILE
";
}
sub
update_doxygen
{
print
"
Updating the version in Doxyfile file
\n
";
my
$IFILE
=
"
bindings/java/doxygen/Doxyfile
";
my
$OFILE
=
"
bindings/java/doxygen/Doxyfile2
";
open
(
CONF_IN
,
"
<
${IFILE}
")
or
die
"
Cannot open
$IFILE
";
open
(
CONF_OUT
,
"
>
${OFILE}
")
or
die
"
Cannot open
$OFILE
";
my
$found
=
0
;
while
(
<
CONF_IN
>
)
{
if
(
/^PROJECT_NUMBER\s*=/
)
{
print
CONF_OUT
"
PROJECT_NUMBER =
${VER}
\n
";
$found
++
;
}
elsif
(
/^HTML_OUTPUT\s*=/
)
{
print
CONF_OUT
"
HTML_OUTPUT = jni-docs/
${VER}
/
\n
";
$found
++
;
}
else
{
print
CONF_OUT
$_
;
}
}
close
(
CONF_IN
);
close
(
CONF_OUT
);
if
(
$found
!=
2
)
{
die
"
Error: Found
$found
(instead of 2) occurrences of Version: in Doxyfile
";
}
unlink
(
$IFILE
)
or
die
"
Error deleting
$IFILE
";
rename
(
$OFILE
,
$IFILE
)
or
die
"
Error renaming
$OFILE
";
}
sub
update_debian_changelog
{
print
"
Updating the version in Debian changelog file
\n
";
...
...
@@ -681,6 +718,7 @@ ()
update_buildxml
();
update_debian_changelog
();
update_debian_install
();
update_doxygen
();
bootstrap
();
checkin_vers
();
...
...
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