From ef6369d62f98124bed13e3fddbd83751a9a51d0b Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Tue, 5 Mar 2019 00:21:29 +0000 Subject: [PATCH] Add prerelease --- .travis.yml | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2acc96d9..fb27d784 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,22 +12,23 @@ before_install: fi script: - scripts/build.sh -# before_deploy: -# - export TRAVIS_TAG="1.0.$TRAVIS_BUILD_NUMBER" -# - echo "$TRAVIS_TAG" "$TRAVIS_COMMIT" -# - git config --local user.name "$USER_NAME" -# - git config --local user.email "$USER_EMAIL" -# - git tag "$TRAVIS_TAG" "$TRAVIS_COMMIT" -# deploy: -# provider: releases -# tag_name: $TRAVIS_TAG -# target_commitish: $TRAVIS_COMMIT -# name: $TRAVIS_TAG -# skip_cleanup: true -# api_key: -# secure: T/yqCIeqLifteriv8D3CnehNFzSBP309GZqeUfyx8Q+xSQEttA9Enxl+Qw9GkdedYTN4J56iucHIac6CwcvKSKIXqk80CeSEW0BNxZs5wIgv4rRMMy/GAX0NBWKNOkoGlH8M6VyQcM7eY2iGAn1EX755PHalk6rWwfsauRANOQyb2DXQBan5C0YUnogq2qcW1xkIwlXH7l0Ekbtego0f6QPv0rSyOcL1LKm6xk0Aq+xLNKJkT6TSL6xYpkPlZLjnql09Nspkqs6NehWlft2n09bHqAtjNnWw9OYCvxp8mdHeTE5uShuEqYPzdYU5LVFoE7wElI8uqS66noaA18ytZYGw2IrY6GZcn+wtR6WyM2+YXl2HclL1/Fs6Vn8+zwq2IBZchBNv3KJSn1dxiqLlD/s6YQyni17x/9FhtFoNUvsbY5zSC1xrnNQBQWFg0TRnoC9rPR+7hQtT1+5+CvRxpvcNWnPuA22919PFE79ejJulPmsnyF+YLs9c6APJgOpOO1f6fKt5Mcb02dubPqGcQ9NbqUUNTl4IUvEtjG0LnFAgEGerxAcsdnUTxzBVf0LJLlhRKW1BigUTbRwfUJL1DN0mWg9cg7fL5VqrogvNq3uRguxOsYr+bcHDbimQSAY3No3fAkTTqQSJh56Dx57/Un18KxuOTiRB9de1RtiudsI= -# file_glob: true -# file: packages/server/cli-* -# on: -# repo: codercom/code-server -# branch: master +before_deploy: +- export TRAVIS_TAG="1.31.0-$TRAVIS_BUILD_NUMBER" +- echo "$TRAVIS_TAG" "$TRAVIS_COMMIT" +- git config --local user.name "$USER_NAME" +- git config --local user.email "$USER_EMAIL" +- git tag "$TRAVIS_TAG" "$TRAVIS_COMMIT" +deploy: + provider: releases + tag_name: $TRAVIS_TAG + target_commitish: $TRAVIS_COMMIT + name: $TRAVIS_TAG + skip_cleanup: true + api_key: + secure: T/yqCIeqLifteriv8D3CnehNFzSBP309GZqeUfyx8Q+xSQEttA9Enxl+Qw9GkdedYTN4J56iucHIac6CwcvKSKIXqk80CeSEW0BNxZs5wIgv4rRMMy/GAX0NBWKNOkoGlH8M6VyQcM7eY2iGAn1EX755PHalk6rWwfsauRANOQyb2DXQBan5C0YUnogq2qcW1xkIwlXH7l0Ekbtego0f6QPv0rSyOcL1LKm6xk0Aq+xLNKJkT6TSL6xYpkPlZLjnql09Nspkqs6NehWlft2n09bHqAtjNnWw9OYCvxp8mdHeTE5uShuEqYPzdYU5LVFoE7wElI8uqS66noaA18ytZYGw2IrY6GZcn+wtR6WyM2+YXl2HclL1/Fs6Vn8+zwq2IBZchBNv3KJSn1dxiqLlD/s6YQyni17x/9FhtFoNUvsbY5zSC1xrnNQBQWFg0TRnoC9rPR+7hQtT1+5+CvRxpvcNWnPuA22919PFE79ejJulPmsnyF+YLs9c6APJgOpOO1f6fKt5Mcb02dubPqGcQ9NbqUUNTl4IUvEtjG0LnFAgEGerxAcsdnUTxzBVf0LJLlhRKW1BigUTbRwfUJL1DN0mWg9cg7fL5VqrogvNq3uRguxOsYr+bcHDbimQSAY3No3fAkTTqQSJh56Dx57/Un18KxuOTiRB9de1RtiudsI= + file_glob: true + prerelease: true + file: packages/server/cli-* + on: + repo: codercom/code-server + branch: master