Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Change travis to use a sender tag for identifing when it tags the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
morfien101 committed Oct 9, 2019
1 parent f7f3562 commit 246a9ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go
install: true
go:
- '1.11'
- '1.13'
script:
- go get -u github.com/kardianos/govendor
- govendor test -v ./...
Expand All @@ -18,14 +18,14 @@ branches:
only:
- master
except:
- "/\\+travis\\d+$/"
- sender = "Travis"
before_deploy:
- export PUBDIR=$HOME/publish
- mkdir $PUBDIR
- cp -v artifacts/*.tar.gz artifacts/*.zip $PUBDIR
- git config --local user.name "Travis"
- git config --local user.email "morfien101@gmail.com"
- git tag "$(./build.sh -v)+travis$TRAVIS_BUILD_NUMBER" --force
- git tag "$(./build.sh -v)" --force
deploy:
provider: releases
api_key:
Expand Down

0 comments on commit 246a9ad

Please sign in to comment.