-
Notifications
You must be signed in to change notification settings - Fork 79
chore(build): streamline release command execution MONGOSH-534 #651
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
chore(build): streamline release command execution MONGOSH-534 #651
Conversation
6c4cdf7
to
4c0b7ac
Compare
4c0b7ac
to
b197b8b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fwiw, there’s nothing in here that would stick out to me…
1e1bae2
to
0f9d889
Compare
export NODE_JS_VERSION=${NODE_JS_VERSION} | ||
export ARTIFACT_URL_FILE=artifact-url.txt | ||
export ARTIFACT_URL_FILE="$PWD/artifact-url.txt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to use absolute paths on Windows, you’ll need to use cygpath -w
on the filepath before passing it to Node.js (because this would be /cygdrive/c/.../artifact-url.txt
, which on Windows would be interpreted as a path relative to the FS root, e.g. C:\cygdrive\c\...\artifact-url.txt
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope the way I've included it now makes that part work...
Co-authored-by: Anna Henningsen <anna.henningsen@mongodb.com>
Use
ts-node
to directly run the entry script inbuild/src/index.ts
.