mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Also upload source tarball to github releases.
This commit is contained in:
parent
822622cf5b
commit
4e3b3a1d2f
43
.travis.yml
43
.travis.yml
@ -190,43 +190,18 @@ deploy:
|
||||
- release
|
||||
|
||||
# This is the deploy target for the native build (Linux and macOS)
|
||||
# which generates ZIPs per commit. We are in agreement that
|
||||
# generating ZIPs per commit for the develop branch is probably
|
||||
# just noise, so we only run this deployment target on 'release'.
|
||||
#
|
||||
# Unlike the Appveyor GitHub Releases target, the support in TravisCI
|
||||
# seemingly doesn't provide a means for passing a description, tag, etc.
|
||||
# In practice, we are letting the Appveyor CI do all that stuff, and
|
||||
# then this deployment flow just seems to find that most recent tag,
|
||||
# and just add our Linux and macOS ZIPs into the same tag, which is
|
||||
# what we want to happen. But is very accidental and brittle-looking.
|
||||
#
|
||||
# The 'skip_cleanup' stops the workspace being cleaned out prior to
|
||||
# generation of the artifacts. Strange that we should explicitly
|
||||
# need to do that, but we do.
|
||||
#
|
||||
# Tokens in TravisCI can be generated a few different ways. Bob had
|
||||
# success using the 'travis' gem, and then using that gem to
|
||||
# create/edit this .travis.yml file, and then cut-and-pasting the
|
||||
# good bits back out of what it generated. The gem changes all the
|
||||
# whitespace and deletes comments, so cannot be used as-is. But
|
||||
# it does generate an appropriate auth token.
|
||||
#
|
||||
# TODO - I do not know if the api_key below which work correctly
|
||||
# for ethereum/solidity. I suspect not, for the same reason as
|
||||
# my auth token does not work for Appveyor. I don't have enough
|
||||
# permissions to enable this myself. Christian should be able to.
|
||||
#
|
||||
# See https://docs.travis-ci.com/user/deployment/releases
|
||||
# See https://blog.travis-ci.com/2013-01-28-token-token-token/
|
||||
# See https://github.com/ethereum/webthree-umbrella/issues/658
|
||||
# which generates ZIPs per commit and the source tarball.
|
||||
#
|
||||
# This runs for each tag that is created and adds the corresponding files.
|
||||
- provider: releases
|
||||
api_key:
|
||||
secure: PWH37xVBCF0XiSjl+eH7XIdkrfxZXjzvqF4PiB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G/+OTIa6VBMDxB9J85kYdnLq3XBlcr1YoPMfTJ1UV7mpG4D1EDJObgToyCEDNbKS1Nf+osVcP8UcsrvhBCNXhPsFud8ZemaXmrVNhJOcf8sAHZx2N/HSfm7Im74ZFqJbHrWlx9aFKZ71BvSCPAbcp4hGw0A0Anynn9hOfxZjh5aqwxhz4ieTolCWaZCVyMveLJccu2ib2LVza2soHiSX2maFFlXqkoPd8h3vIGMR4CbqWfxAhXuxzMivOc24kPVHLEt5zq9635V519eOEEPYUs4X1ArZySKvJBbEcJ2RP+AZrZlj4="
|
||||
|
||||
overwrite: true
|
||||
file:
|
||||
- $TRAVIS_BUILD_DIR/solidity-$ZIP_SUFFIX.zip
|
||||
- $TRAVIS_BUILD_DIR/solidity_source.tar.gz
|
||||
skip_cleanup: true
|
||||
on:
|
||||
repo: ethereum/solidity
|
||||
branch: release
|
||||
tags: true
|
||||
condition: $TRAVIS_RELEASE == On
|
||||
|
||||
Loading…
Reference in New Issue
Block a user