Skip to content

Commit

Permalink
fix sha for rat 0.14 since 0.15 does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-was-here committed Sep 4, 2023
1 parent da3506d commit 82b4fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion precommit/src/main/shell/test-patch-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ RUN mkdir -p /opt/apache-rat \
&& curl -f -s -L -o /tmp/rat.tgz \
"https://archive.apache.org/dist/creadur/apache-rat-$APACHE_RAT_VERSION/apache-rat-$APACHE_RAT_VERSION-bin.tar.gz" \
&& shasum -a 512 /tmp/rat.tgz \
| awk '$1!="a90161a38e68677ab4ae3caf1f7bf1f97dd5e94b7aa4e5a7df5a314146f87823e0d173b37ab6193e189b24319eedee2aa967850eb93286ad3dbdfd6d1e878279" {exit(1)}' \
| awk '$1!="17119289839dc573dd29039ca09bd86f729f1108308f6681292125418fd7bceeaf7d1a40b83eb01daf7d3dd66fbcc0a68d5431741314e748f7b878e8967459e9" {exit(1)}' \

Check failure on line 112 in precommit/src/main/shell/test-patch-docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build

detsecrets:66defd532d6875b42111a786d7bf52bb8db61602:Hex High Entropy String

Check failure on line 112 in precommit/src/main/shell/test-patch-docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build

detsecrets:66defd532d6875b42111a786d7bf52bb8db61602:Hex High Entropy String
&& tar --strip-components 1 -C /opt/apache-rat -xpzf /tmp/rat.tgz \
&& rm /tmp/rat.tgz \
&& mv /opt/apache-rat/apache-rat-$APACHE_RAT_VERSION.jar /opt/apache-rat/apache-rat.jar
Expand Down

0 comments on commit 82b4fad

Please sign in to comment.