git-changelog 0.2.1

A tool to automate project changelog generation.
Documentation
os: Visual Studio 2015

version: build-{build}

skip_branch_with_pr: true

install:
  - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
  - rustup-init -yv
  - set PATH=%PATH%;%USERPROFILE%\.cargo\bin
  - rustc -vV
  - cargo -vV

build_script:
  - cargo build --release

after_build:
  - ps: if (Test-Path env:APPVEYOR_REPO_TAG_NAME) { $env:TAG = $env:APPVEYOR_REPO_TAG_NAME } else { $env:TAG = 'ci' }
  - 7z a git-changelog-%TAG%-windows.zip target/release/git-changelog.exe

test_script:
  - cargo test --release -- --nocapture

artifacts:
  - path: 'git-changelog-*.zip'

deploy:
  release: $(APPVEYOR_REPO_TAG_NAME)
  description: $(APPVEYOR_REPO_TAG_NAME)
  provider: GitHub
  auth_token:
    secure: zEUAhDPdOEdm8hzOpaT0KXDA2OCfdcYwmp4U3A57UyiJIljlqNeZY2NVClOXeecz
  artifact: git-changelog-$(TAG)-windows.zip
  draft: true
  force_update: true
  on:
    branch: master
    appveyor_repo_tag: true