Skip to content
Snippets Groups Projects
Commit 98e5a4b2 authored by Philipp Stadler's avatar Philipp Stadler
Browse files

fixx: patch mudslide for non-interactive use

parent 0860532d
No related branches found
No related tags found
No related merge requests found
image: durcheinander/pack-build:1.0.0
image: durcheinander/pack-build:1.0.1
stages:
- build
......@@ -154,6 +154,5 @@ send-release-notes-to-group:
- mudslide_cache
script:
- mkdir -p mudslide_cache
# || true is necessary because it fails on non-tty, logging in still works though
- mudslide login || true
- mudslide login
- mudslide send $WHATSAPP_RELEASE_NOTIFY_RECIPIENT "$(cat RELEASE_NOTES.md)"
......@@ -14,3 +14,11 @@ curl
RUN npm install --global \
yarn \
mudslide
# remove the code that waits for a key after login:
# 137 process.stdin.setRawMode(true);
# 138 return new Promise(resolve => process.stdin.once('data', () => {
# 139 process.stdin.setRawMode(false);
# 140 resolve(undefined);
# 141 }));
RUN sed -i '137,141d' /usr/local/lib/node_modules/mudslide/dist/whatsapp.js
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment