Skip to content

Instantly share code, notes, and snippets.

@hhsnopek
Last active October 15, 2015 00:44
Show Gist options
  • Save hhsnopek/1a9f0c7349d995872e27 to your computer and use it in GitHub Desktop.
Save hhsnopek/1a9f0c7349d995872e27 to your computer and use it in GitHub Desktop.
Share-button webhook objectives

Push new release to Github/NPM

Server Tasks

  • Builds share-button
  • Publish to NPM
  • Upload tar/zip/{css, js} files to latest release
  • Moves dist/*.{js,css} to share-button-bower repo/dir on server & commits/pushes (commit msg is release tag)

TODO:

  • Github release webhook, get notified of new release & get tag_name
  • Clone repo to tmp folder
  • Build share-button in tmp folder
  • Publish to NPM
  • Copy dist and place in tmp2
  • Commit/Push tmp2/*.{js, css} to share-button-bower repo on github
  • Create tar/zip of tmp, place in tmp/dist
  • Upload (all files in tmp/dist) assets to latest release
@notslang
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment