Adrian Cole
unread,Dec 4, 2020, 6:29:56 PM12/4/20Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to zipki...@googlegroups.com
Just wanted to pass along some learning. When doing a release
condition in travis, take out anything that talks about a branch and a
tag at the same time, unless you want to deploy latest commit along
with the tag (ex snapshot+1.2.3)
on:
push:
tags: '[0-9]+.[0-9]+.[0-9]+**' # Ex. 8.272.10 or 15.0.1_p9
branches: master
jobs:
deploy:
So, for example, in ruby or the JDKs etc, just take out the branches
part and leave it as a tag condition only. There's no way to constrain
both tag and branch iotw (that I'm aware of). Like so..
on:
push:
tags: '[0-9]+.[0-9]+.[0-9]+**' # Ex. 8.272.10 or 15.0.1_p9
jobs:
deploy:
Hope this helps!
-a