Closed PhilMFischer closed 3 years ago
Additional Info. Judging from our build history, It seems that the feature was working at least until 14. January 2020
Same here! body
stopped working without us doing any changes in the travis script
Sorry for the delayed response.
I've tracked this down to the introduction of configuration validator.
While we work on the fix, one workaround is to disable it in https://travis-ci.org/OWNER/REPO/settings, in the "Beta features" section at the bottom of the page.
We'll update this issue when the validator is fixed.
Disabling build config validation
doesn't help
Disabling
build config validation
doesn't help
Hmm. My test build https://travis-ci.org/github/BanzaiMan/travis_production_test/builds/719646560 resulted in this release https://github.com/BanzaiMan/travis_production_test/releases/tag/foo-2, based on this configuration:
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file: readdir.c
body: completely irrelevant text for the release
skip_cleanup: true
on:
tags: true
Could you point to your problematic build?
Could you point to your problematic build?
All the recent v1.3.0-test.* builds
@Velenir
Your configuration for v1.3.0-test.22 looks like this:
- provider: releases
api_key: $GITHUB_RELEASE_TAG_API_TOKEN
release_notes_file: RELEASE_NOTES.md
file:
- web_$TRAVIS_TAG.zip
- ipfs_hash.txt
skip_cleanup: true
on:
tags: true
This does not have body
, which is what we are discussing here.
If you are looking to define the release text through release_notes_file
, you need to use v2. (I do realize, now, that the individual Releases v2 provider documentation does not state this explicitly, and how you might come up with a configuration this way.)
At any rate, for you, adding edge: true
should solve the problem.
v1.3.0-test.20 uses release_note
which should be the same as body
as far as I understand
I'll try with edge
, thank you
v1.3.0-test.20 uses
release_note
which should be the same asbody
as far as I understand
dpl
v1 does not understand release_notes
.
I didn't know specifics about v2 :disappointed: . edge
worked great
Than you very much! :tada:
@Velenir Happy to hear that it works for you now. I apologize for the confusion about the v2; I'll work on improving the docs.
Documentation issue (with v2) is addressed by https://github.com/travis-ci/docs-travis-ci-com/pull/2867
edge: true
. This should work whether or not configuration validation is enabled.Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues
There seems to be an issue with updating the Release body message.
We have the following case:
Our build under https://travis-ci.com/github/virtualsatellite/VirtualSatellite4-DEV-IDE/builds/175412233 is running an integration build. It is setting the
integration_snapshot
tag always to the latest commit on theintegration
branch. Once the build is succesful some files are uplaoded to the integration Release https://github.com/virtualsatellite/VirtualSatellite4-DEV-IDE/releases . The body of the release message should be updated with the time and commit sha of the build.This used to work fine and stopped meanwhile. Today it seems the release message is not getting changed at all when deploying.