Skip to content

Instantly share code, notes, and snippets.

@askb
Last active October 20, 2020 01:30
Show Gist options
  • Save askb/850fcf1abb8c4815da87dda50abc8f8c to your computer and use it in GitHub Desktop.
Save askb/850fcf1abb8c4815da87dda50abc8f8c to your computer and use it in GitHub Desktop.
Autorelease git-log: master - CR's committed/merged for last one months
// CR coming into AR on the master branch on each day for the one month period.
$ git submodule foreach "git log --oneline --graph --decorate --no-merges --pretty='format:%as %h' --since=1.month.ago" #| grep -v Entering | awk -F' ' -e '{print $2}' | sort | uniq
Entering 'aaa'
Entering 'bgpcep'
Entering 'controller'
* 2020-10-13 5ed0b16605
Entering 'daexim'
Entering 'genius'
Entering 'infrautils'
Entering 'integration/distribution'
* 2020-10-19 7d88ebb
* 2020-10-19 0e54c9a
Entering 'jsonrpc'
Entering 'lispflowmapping'
Entering 'netconf'
* 2020-10-14 31f1175d1
* 2020-10-14 91d24fb0e
Entering 'netvirt'
Entering 'neutron'
Entering 'openflowplugin'
Entering 'ovsdb'
Entering 'serviceutils'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment