Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove directories from sha256.txt path #45

Merged
merged 1 commit into from
May 2, 2023
Merged

Conversation

pkwarren
Copy link
Contributor

@pkwarren pkwarren commented May 2, 2023

In order to simplify verification of the .jar file from the sha256.txt file, we should move the artifact to the root directory and build the sha256sum from there.

In order to simplify verification of the .jar file from the sha256.txt
file, we should move the artifact to the root directory and build the
sha256sum from there.
@pkwarren pkwarren requested a review from stefanvanburen May 2, 2023 17:33
@@ -56,12 +56,13 @@ jobs:
echo "release_version=${release_version}" >> "$GITHUB_ENV"
export ORG_GRADLE_PROJECT_releaseVersion="${release_version}"
make buildplugin
sha256sum ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin-${release_version}.jar >> sha256.txt
mv ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin-${release_version}.jar .
sha256sum protoc-gen-connect-kotlin-${release_version}.jar >> sha256.txt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will fix errors like this (seen with previous v0.1.4 release):

$ sha256sum -c sha256.txt
sha256sum: ./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar: No such file or directory
./protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar: FAILED open or read
sha256sum: WARNING: 1 listed file could not be read

@pkwarren pkwarren merged commit 624e5ed into main May 2, 2023
@pkwarren pkwarren deleted the pkw/fix-release-v3 branch May 2, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants