Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Fix Checksums #335

Merged
merged 2 commits into from
Sep 23, 2020
Merged

Fix Checksums #335

merged 2 commits into from
Sep 23, 2020

Conversation

MattGill98
Copy link
Contributor

Ran the following commands:

Fix sha1s:

find . -type f -name "*.pom" -exec sh -c 'f={}; echo $f; rm -f "$f.sha1"; sha1sum $f | cut -d " " -f1 > "$f.sha1";' \;

Fix md5s:

find . -type f -name "*.pom" -exec sh -c 'f={}; echo $f; rm -f "$f.md5"; md5sum $f | cut -d " " -f1 > "$f.md5";' \;

Then added only the files without just whitespace changes:

# Capture all the necessary changes
git diff -w > changes

# Backup the change file
mv changes ..

# Trash the git repo state
git add .
git reset --hard

# Copy the changes back
mv ../changes .
git apply changes
rm changes

Signed-off-by: Matthew Gill <matthew.gill@live.co.uk>
Signed-off-by: Matthew Gill <matthew.gill@live.co.uk>
@MattGill98 MattGill98 requested a review from Cousjava September 23, 2020 15:49
@MattGill98 MattGill98 self-assigned this Sep 23, 2020
Copy link
Contributor

@Cousjava Cousjava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm presuming that they're all correct, Jenkins will complain if they're not.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants