Skip to content

Instantly share code, notes, and snippets.

@foucist
Created April 9, 2014 13:49
Show Gist options
  • Save foucist/8f0635d43434da13d140 to your computer and use it in GitHub Desktop.
Save foucist/8f0635d43434da13d140 to your computer and use it in GitHub Desktop.
- rm_revisions = existing_revisions[key].reject {|x| keepers[key].include? x}
+ arr = existing_revisions[key].reject {|x| keepers[key].include? x}
+ keepers[key] = arr.pop(releases) # preserve release & save to manifest
+
+ rm_revisions = arr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment