This is an automated email from the ASF dual-hosted git repository.
slawrence pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/daffodil-infrastructure.git
The following commit(s) were added to refs/heads/main by this push:
new 3645831 Fix directory where we create release sha512sum files
3645831 is described below
commit 3645831b7f80d5e4c1c1f165aa8b2fd70790509c
Author: Steve Lawrence <[email protected]>
AuthorDate: Mon Apr 7 15:30:05 2025 -0400
Fix directory where we create release sha512sum files
Accidentally left off arfifact.parentPath so sha512sum files were
created but not in the correct directory where the artifact lives.
DAFFODIL-2971
---
actions/release-candidate/dist/post/index.js | 2 +-
actions/release-candidate/src/post.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/actions/release-candidate/dist/post/index.js
b/actions/release-candidate/dist/post/index.js
index fdeacaa..071f96c 100644
--- a/actions/release-candidate/dist/post/index.js
+++ b/actions/release-candidate/dist/post/index.js
@@ -125544,7 +125544,7 @@ async function run() {
stdout: (data) => { checksum +=
data.toString(); }
}
});
- fs.appendFileSync(`${ artifact.name }.sha512`,
checksum);
+ fs.appendFileSync(`${ artifact.parentPath }/${
artifact.name }.sha512`, checksum);
await exec("gpg", ["--default-key",
gpg_signing_key_id, "--batch", "--yes", "--detach-sign", "--armor", "--output",
`${ artifact.name }.asc`, artifact.name], {
cwd: artifact.parentPath
});
diff --git a/actions/release-candidate/src/post.js
b/actions/release-candidate/src/post.js
index 0ace41a..8a57939 100644
--- a/actions/release-candidate/src/post.js
+++ b/actions/release-candidate/src/post.js
@@ -51,7 +51,7 @@ async function run() {
stdout: (data) => { checksum +=
data.toString(); }
}
});
- fs.appendFileSync(`${ artifact.name }.sha512`,
checksum);
+ fs.appendFileSync(`${ artifact.parentPath }/${
artifact.name }.sha512`, checksum);
await exec("gpg", ["--default-key",
gpg_signing_key_id, "--batch", "--yes", "--detach-sign", "--armor", "--output",
`${ artifact.name }.asc`, artifact.name], {
cwd: artifact.parentPath
});