There was an error while loading. Please reload this page.
1 parent 2bd67e8 commit f1ce4ddCopy full SHA for f1ce4dd
1 file changed
.travis.yml
@@ -11,13 +11,11 @@ script:
11
- npm run build && gulp package
12
13
before_deploy:
14
- # Set up git user name and tag this commit
15
- - git config --local user.name "robertjgabriel"
16
- - git config --local user.email "robert_gabriel@outlook.com"
17
- - export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
18
- - git tag $TRAVIS_TAG
19
-
20
+- export TRAVIS_TAG="1.0.$TRAVIS_BUILD_NUMBER"
+- echo "$TRAVIS_TAG" "$TRAVIS_COMMIT"
+- git config --local user.name "robertjgabriel"
+- git config --local user.email "robert_gabriel@outlook.com"
+- git tag "$TRAVIS_TAG" "$TRAVIS_COMMIT"
21
deploy:
22
provider: releases
23
api_key: $GITHUB_TOKEN
0 commit comments