We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9239c6 commit f502190Copy full SHA for f502190
.travis.yml
@@ -35,15 +35,11 @@ jobs:
35
- |
36
echo "Travis tag was $TRAVIS_TAG"
37
38
- if ! [[ $TRAVIS_TAG =~ ^v.*$" ]]; then
39
- echo 'Non-version tag, rejecting deploy'
40
- exit 1
41
- fi
42
-
43
if ! [[ $DEPLOY_STEP ]]; then
44
export DEPLOY_STEP=1
45
echo 'About to deploy new tag'
46
- else
+ elif [[ $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
+ # If it's a standard version tag, we subsequently update the latest release:
47
# Change TRAVIS_TAG in the 2nd deploy step
48
export DEPLOY_STEP=2
49
echo 'About to deploy manifest update'
@@ -74,4 +70,5 @@ jobs:
74
70
skip_cleanup: true
75
71
on:
76
72
repo: httptoolkit/httptoolkit-server
77
- tags: true
73
+ tags: true
+ condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+$
0 commit comments