Sha256: d71ce9e45fe81c9af554c379927eedad2092f9418406dcff954ef312117025c7

Contents?: true

Size: 714 Bytes

Versions: 3

Compression:

Stored size: 714 Bytes

Contents

#!/usr/bin/env bash
# vim: ft=bash
unset DEBUG

[[ -d ~/.bashmatic ]] || bash -c "$(curl -fsSL http://bit.ly/bashmatic-1-2-0)"
source "${HOME}/.bashmatic/init.sh" 1>/dev/null

function chlog() {
  run.set-all abort-on-error show-output-on
  
  command -v github_changelog_generator >/dev/null || {
    h1 'Installing changelog ruby gem...'
    gem.install github_changelog_generator
  }

  if [[ -z "${GITHUB_TOKEN}" ]]; then
    error "Please set GITHUB_TOKEN environment variable."
    return 1
  else
    info "GitHub token found, starting CHANGELOG generation..."
  fi

  run "github_changelog_generator --no-verbose -u kigster -p sym -t ${GITHUB_TOKEN}"
} 
    
chlog "$@"
    
    
    
    
    
    
    

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sym-3.0.2 bin/changelog
sym-3.0.1 bin/changelog
sym-3.0.0 bin/changelog