You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/09/20 15:23:23 UTC

[groovy] 01/01: Show difference between verification-metadata.xml and verification-metadata.dryrun.xml

This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a commit to branch danielsun/tweak-travisci-20210920
in repository https://gitbox.apache.org/repos/asf/groovy.git

commit 486471fb4859a13b8a96424bdac5548626bdf2db
Author: Daniel Sun <su...@apache.org>
AuthorDate: Mon Sep 20 23:23:06 2021 +0800

    Show difference between verification-metadata.xml and verification-metadata.dryrun.xml
---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 5edace5..32fcfec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -72,4 +72,6 @@ cache:
     - $HOME/.gradle/wrapper/
 
 after_failure:
-  - find /home/travis/build/apache/groovy/build/reports/dependency-verification -type f -name "*.html" | xargs cat
\ No newline at end of file
+  - find /home/travis/build/apache/groovy/build/reports/dependency-verification -type f -name "*.html" | xargs cat
+  - ./gradlew --write-verification-metadata pgp,sha512 --dry-run
+  - diff -u /home/travis/build/apache/groovy/gradle/verification-metadata.xml /home/travis/build/apache/groovy/gradle/verification-metadata.dryrun.xml
\ No newline at end of file