From e5425d1051adc2523adadc43d384ab0942fdceb8 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Mon, 11 Nov 2019 07:09:50 -0700 Subject: [PATCH] Require date in Jenkins weekly changelog generator Ruby on Ubuntu 18.04.3 LTS fails with a NameError if date is not required. ``` $ ruby --version ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu] $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic ``` --- generate-jenkins-changelog.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/generate-jenkins-changelog.rb b/generate-jenkins-changelog.rb index 3026029..fa72943 100755 --- a/generate-jenkins-changelog.rb +++ b/generate-jenkins-changelog.rb @@ -1,5 +1,6 @@ #!/usr/bin/env ruby +require 'date' require 'yaml' require 'json'