diff --git a/.travis.yml b/.travis.yml index 1200158..c14cbaf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,12 @@ language: go +go_import_path: qvl.io/ghbackup go: - - 1.7.4 + - 1.8.1 os: - linux - osx -after_success: - test "$TRAVIS_OS_NAME" = "linux" -a -n "$TRAVIS_TAG" && go get github.com/goreleaser/goreleaser && goreleaser +after_success: | + test "$TRAVIS_OS_NAME" = "linux" -a -n "$TRAVIS_TAG" \ + && gem install fpm \ + && go get github.com/goreleaser/goreleaser \ + && goreleaser diff --git a/goreleaser.yml b/goreleaser.yml index 2f86baf..38cf94c 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -1,10 +1,28 @@ -brew: - github: - owner: qvl - name: homebrew-tap - folder: Formula +homepage: &homepage https://qvl.io/ghbackup +description: &description Embarrassingly simple GitHub backup tool build: goos: - windows - darwin - linux +archive: + format_overrides: + - goos: windows + format: zip + replacements: + darwin: mac +brew: + github: + owner: qvl + name: homebrew-tap + folder: Formula + homepage: *homepage + description: *description +fpm: + homepage: *homepage + description: *description + maintainer: Jorin Vogel + license: MIT + vendor: GoReleaser + formats: + - deb