Skip to content

Instantly share code, notes, and snippets.

@jcarsique
Last active November 18, 2015 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcarsique/3001e8593f6178b23f0c to your computer and use it in GitHub Desktop.
Save jcarsique/3001e8593f6178b23f0c to your computer and use it in GitHub Desktop.
Nuxeo Platform releases notification
#!/bin/bash
VERSION="7.10"
HASHTAG="#Nx710"
TWITTER="New Set of Addons released on http://marketplace.nuxeo.com/ for Nuxeo Platform $VERSION:\nG+_POST_URL\n$HASHTAG"
GOOGLE="\n\nNew Set of Addons released on http://marketplace.nuxeo.com/ for the Nuxeo Platform $VERSION:\n"
while IFS=' ' read url name; do
version=${url#*=}
[ -z "$url" ] && continue
GOOGLE="$GOOGLE\n¤ *$name* $version\n$url\n"
done <<< "
https://connect.nuxeo.com/nuxeo/site/marketplace/package/amazon-s3-online-storage?version=1.6 Amazon S3 Online Storage
https://connect.nuxeo.com/nuxeo/site/marketplace/package/automated-document-categorization?version=1.5 Automated Document Categorization
(... complete with a line per MP in the format: "url-with-version name" ...)
"
echo -e "\n**********\nGoogle+:$GOOGLE\n$HASHTAG"
echo -e "\n**********\nTwitter:$TWITTER"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment