Sha256: b9a22f480a738f0d89f8f6092860a81599998324c486c1fdd5a0c95db157943b
Contents?: true
Size: 534 Bytes
Versions: 5
Compression:
Stored size: 534 Bytes
Contents
#!/usr/bin/env ruby require 'json' require 'ostruct' environment_tag = ARGV[0]&.strip if environment_tag.nil? || environment_tag.empty? puts "Usage: stories-deployed ENVIRONMENT" exit 1 end deployed_story_infos = `story-ids-deployed #{environment_tag} | get-story-info-from-id` stories_deployed = deployed_story_infos.split("\n").compact.reduce([]) do |reduced, story_info| story = OpenStruct.new(JSON.parse(story_info)) reduced << "#{story.error}" reduced << "#{story.name}:\n#{story.url}" end puts stories_deployed
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
pivotoolz-1.0.0 | exe/stories-deployed |
pivotoolz-0.2.0 | exe/stories-deployed |
pivotoolz-0.1.3 | exe/stories-deployed |
pivotoolz-0.1.2 | exe/stories-deployed |
pivotoolz-0.1.1 | exe/stories-deployed |