From 528afe637331947b473effd10b5de77166d94cc1 Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 8 Sep 2015 15:37:12 +0200 Subject: [PATCH] get data from final export --- bin/generate-issues | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/generate-issues b/bin/generate-issues index e925f43..746cb29 100755 --- a/bin/generate-issues +++ b/bin/generate-issues @@ -23,6 +23,7 @@ HOMEPAGE = "http://opendreamkit.org" PROPOSAL_URL = "https://github.com/OpenDreamKit/OpenDreamKit/raw/master/Proposal/proposal-www.pdf" PROJECT = "OpenDreamKit" REPO = "minrk/odktest2" +TARGET = "final" # or 'proposal # throttle github creation requests to 5 Hz to avoid getting flagged for abuse THROTTLE_SECONDS = 5 @@ -129,8 +130,8 @@ end def load_pdata(proposal_dir) - pdata = File.join(proposal_dir, 'proposal.pdata') - deliv_data = File.join(proposal_dir, 'proposal.deliverables') + pdata = File.join(proposal_dir, "#{TARGET}.pdata") + deliv_data = File.join(proposal_dir, "#{TARGET}.deliverables") workpackages = {} # mapping of workpackage id => wp info