-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #449 from deniszh/DZ-fix-pkg-upload
Fix issues with upload
- Loading branch information
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
language: go | ||
|
||
go: | ||
- 1.17 | ||
|
||
script: | ||
- make test | ||
|
||
before_deploy: | ||
- lsb_release -a | ||
- sudo apt-get update | ||
- sudo apt-get install -y ruby ruby-dev rpm | ||
- GO111MODULE=off go get github.com/mitchellh/gox | ||
- gem install rake | ||
- gem install fpm:1.10.2 # newer fpm is broken https://github.com/jordansissel/fpm/issues/1612 | ||
- make gox-build | ||
- make fpm-deb | ||
- make fpm-rpm | ||
|
||
deploy: | ||
provider: releases | ||
skip_cleanup: true | ||
api_key: | ||
secure: VzFUZ1LemIo7KLoVv3r+gMEQJ9mj8om0YojWJ+bXFFsGCBHVBsAxn32j+6BTJq3pF2tkYCJmqVBjBF6QIFyW0pz+v2vVBCXoebXZWaS4KogThlT6uS7SqKUqfEGejofVAo6RZlY9LNKaPNEA4mE9TNMfDMvCaWlgQDyvi7i6hr0= | ||
file_glob: true | ||
file: | ||
- "*.{deb,rpm}" | ||
- "build/go-carbon-*" | ||
on: | ||
repo: go-graphite/go-carbon | ||
tags: true |