Skip to content

Commit 70aefcd

Browse files
authored
Merge pull request #931 from openpreserve/rel/1.30.1
FIX: Update the GH Actions upload task
2 parents 7c12ff2 + 2ee5622 commit 70aefcd

File tree

19 files changed

+31
-26
lines changed

19 files changed

+31
-26
lines changed

.github/workflows/test-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: mvn --batch-mode verify -DjacocoAgg
4646
- name: Upload coverage report
4747
if: (matrix.java-version == 8)
48-
uses: actions/upload-artifact@v3
48+
uses: actions/upload-artifact@v4
4949
with:
5050
name: coverage-report
5151
path: jhove-apps/target/site/jacoco-aggregate/
@@ -60,7 +60,7 @@ jobs:
6060
- name: Codacy analysis reporting
6161
uses: codacy/codacy-analysis-cli-action@4.0.0
6262
- name: Download coverage report
63-
uses: actions/download-artifact@v3
63+
uses: actions/download-artifact@v4
6464
with:
6565
name: coverage-report
6666
path: jhove-apps/target/site/jacoco-aggregate/

jhove-apps/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
<artifactId>jhove-apps</artifactId>
1212
<packaging>jar</packaging>
13+
<version>1.30.1</version>
14+
1315

1416
<name>JHOVE Applications</name>
1517
<description>Classes and fat JAR packaging for CLI and GUI app.</description>
@@ -58,7 +60,7 @@
5860
<dependency>
5961
<groupId>org.openpreservation.jhove</groupId>
6062
<artifactId>jhove-core</artifactId>
61-
<version>${project.version}</version>
63+
<version>1.30.0</version>
6264
</dependency>
6365
</dependencies>
6466

jhove-bbt/scripts/create-1.30-target.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/outputHandl
6464
find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/outputHandler release="1.1">JSON/outputHandler release="1.2">JSON/' {} \;
6565

6666
# Update release details for PDF module
67-
find "${targetRoot}" -type f -name "*.pdf.jhove.xml" -exec sed -i 's/^ <reportingModule release="1.12.4" date="2023-03-16">PDF-hul<\/reportingModule>$/ <reportingModule release="1.12.5" date="2024-03-05">PDF-hul<\/reportingModule>/' {} \;
68-
find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/^ <module release="1.12.4">PDF-hul<\/module>$/ <module release="1.12.5">PDF-hul<\/module>/' {} \;
69-
find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/^ <release>1.12.4<\/release>$/ <release>1.12.5<\/release>/' {} \;
70-
find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/2023-03-16/2024-03-05/' {} \;
67+
find "${targetRoot}" -type f -name "*.pdf.jhove.xml" -exec sed -i 's/^ <reportingModule release="1.12.4" date="2023-03-16">PDF-hul<\/reportingModule>$/ <reportingModule release="1.12.6" date="2024-07-31">PDF-hul<\/reportingModule>/' {} \;
68+
find "${targetRoot}" -type f -name "audit.jhove.xml" -exec sed -i 's/^ <module release="1.12.4">PDF-hul<\/module>$/ <module release="1.12.6">PDF-hul<\/module>/' {} \;
69+
find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/^ <release>1.12.4<\/release>$/ <release>1.12.6<\/release>/' {} \;
70+
find "${targetRoot}" -type f -name "audit-PDF-hul.jhove.xml" -exec sed -i 's/2023-03-16/2024-07-31/' {} \;
7171

7272
# Update release details for PNG module
7373
find "${targetRoot}" -type f -name "*.png.jhove.xml" -exec sed -i 's/^ <reportingModule release="1.2" date="2023-03-16">PNG-gdm<\/reportingModule>$/ <reportingModule release="1.3" date="2024-03-05">PNG-gdm<\/reportingModule>/' {} \;

jhove-bbt/scripts/travis-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ fi
5454
[[ -d "${TARGET_ROOT}" ]] || mkdir -p "${TARGET_ROOT}"
5555

5656
# Grab the Major and Minor versions from the full Maven project version string
57-
MVN_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
57+
MVN_VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec -f jhove-installer/pom.xml)
5858
MAJOR_MINOR_VER="${MVN_VERSION%.*}"
5959
JHOVE_INSTALLER="./jhove-installer/target/jhove-xplt-installer-${MVN_VERSION}.jar"
6060

jhove-installer/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
</parent>
1010

1111
<artifactId>jhove-installer</artifactId>
12+
<version>1.30.1</version>
1213
<name>JHOVE Installer</name>
1314
<description>Maven-built IzPack installer for JHOVE.</description>
1415

@@ -24,7 +25,7 @@
2425
<html.hul.version>1.4.3</html.hul.version>
2526
<jpeg2000.hul.version>1.4.4</jpeg2000.hul.version>
2627
<jpeg.hul.version>1.5.4</jpeg.hul.version>
27-
<pdf.hul.version>1.12.5</pdf.hul.version>
28+
<pdf.hul.version>1.12.6</pdf.hul.version>
2829
<tiff.hul.version>1.9.4</tiff.hul.version>
2930
<utf8.hul.version>1.7.3</utf8.hul.version>
3031
<wave.hul.version>1.8.3</wave.hul.version>
@@ -174,7 +175,7 @@
174175
<dependency>
175176
<groupId>org.openpreservation.jhove</groupId>
176177
<artifactId>jhove-ext-modules</artifactId>
177-
<version>${project.version}</version>
178+
<version>1.30.0</version>
178179
</dependency>
179180
<dependency>
180181
<groupId>org.openpreservation.jhove.modules</groupId>

jhove-installer/src/main/izpack/install.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@
107107
</pack>
108108
<pack name="JHOVE External Modules" required="no">
109109
<description>Third-party validation modules developed for JHOVE, currently GZIP, PNG and WARC.</description>
110-
<file targetdir="$INSTALL_PATH/bin" src="bin/jhove-ext-modules-${project.version}.jar"/>
111-
<executable targetfile="$INSTALL_PATH/bin/jhove-ext-modules-${project.version}.jar"/>
110+
<file targetdir="$INSTALL_PATH/bin" src="bin/jhove-ext-modules-1.30.0.jar"/>
111+
<executable targetfile="$INSTALL_PATH/bin/jhove-ext-modules-1.30.0.jar"/>
112112
<file targetdir="$INSTALL_PATH/conf" override="true" src="config/ext-modules/jhove.conf"/>
113113
<parsable targetfile="$INSTALL_PATH/conf/jhove.conf" type="xml"/>
114114
</pack>

jhove-modules/aiff-hul/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openpreservation.jhove.modules</groupId>
55
<artifactId>jhove-modules</artifactId>
6-
<version>1.30.0</version>
6+
<version>1.30.1</version>
77
</parent>
88
<artifactId>aiff-hul</artifactId>
99
<version>1.6.2</version>

jhove-modules/ascii-hul/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openpreservation.jhove.modules</groupId>
55
<artifactId>jhove-modules</artifactId>
6-
<version>1.30.0</version>
6+
<version>1.30.1</version>
77
</parent>
88
<artifactId>ascii-hul</artifactId>
99
<version>1.4.2</version>

jhove-modules/gif-hul/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openpreservation.jhove.modules</groupId>
55
<artifactId>jhove-modules</artifactId>
6-
<version>1.30.0</version>
6+
<version>1.30.1</version>
77
</parent>
88
<artifactId>gif-hul</artifactId>
99
<version>1.4.3</version>

jhove-modules/html-hul/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.openpreservation.jhove.modules</groupId>
55
<artifactId>jhove-modules</artifactId>
6-
<version>1.30.0</version>
6+
<version>1.30.1</version>
77
</parent>
88
<artifactId>html-hul</artifactId>
99
<version>1.4.3</version>

0 commit comments

Comments
 (0)