-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
add Joplin #1325
base: main
Are you sure you want to change the base?
add Joplin #1325
Conversation
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.
This doesn't actually work:
[!] ERROR! Missing required information of github package joplin:
URL=
VERSION_PUBLISHED=
The CI install test "passes" but reading the log it should fail so is itself sadly broken.
Also please note the newer template in EXTREPO.md and recent package definitions and adopt the pattern of "grep -m1 " to avoid an extra head and "<<< ${URL}" to avoid unwanted extra echoes.
DEFVER=1 | ||
get_github_releases "laurent22/joplin" "latest" | ||
if [ "${ACTION}" != "prettylist" ]; then | ||
URL="$(grep "browser_download_url.*${HOST_ARCH}\.deb\"" "${CACHE_FILE}" | grep -v '.md5' | head -n1 | cut -d'"' -f4)" |
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.
URL="$(grep "browser_download_url.*${HOST_ARCH}\.deb\"" "${CACHE_FILE}" | grep -v '.md5' | head -n1 | cut -d'"' -f4)" | |
URL=$(grep -m1 "browser_download_url.*\.deb\"" "${CACHE_FILE}" | cut -d'"' -f4) |
get_github_releases "laurent22/joplin" "latest" | ||
if [ "${ACTION}" != "prettylist" ]; then | ||
URL="$(grep "browser_download_url.*${HOST_ARCH}\.deb\"" "${CACHE_FILE}" | grep -v '.md5' | head -n1 | cut -d'"' -f4)" | ||
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8 | sed "s/v//")" |
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.
VERSION_PUBLISHED="$(echo "${URL}" | cut -d'/' -f8 | sed "s/v//")" | |
VERSION_PUBLISHED=$( cut -d'/' -f8 <<<"${URL/v/}") |
Co-authored-by: Phil Clifford <[email protected]>
New package joplin
this PR relates to #1303