Skip to content

Add build log to release description #33

Open

Description

@TheAssassin

I would appreciate if there was a link back to the Travis CI build log in the release description.

The functionality appears to be implemented, looking at the code, I am not sure why this isn't happening, though.

@probonopd could you please have a look why the URL isn't appended to the description?

Activity

  1. probonopd commented on Mar 30, 2018

    @probonopd
    Owner

    There is a check if [ ! -z "$UPLOADTOOL_BODY" ] ; then which I think evaluates to false, causing the log not to be appended. The variable and if clause was introduced in 494d5a5 - could it be that it needs to be if [ -z "$UPLOADTOOL_BODY" ] ; then?

  2. TheAssassin commented on Mar 30, 2018

    @TheAssassin
    ContributorAuthor

    @probonopd when using -z to check whether a variable has set, there must not be quotes, IIRC.
    See also 494d5a5#diff-41c2c2edf223528193cd5163683cad3dR42.

    A more straightforward (bash-only) syntax would be [ "$UPLOADTOOL_BODY" != "" ].

  3. TheAssassin commented on Mar 30, 2018

    @TheAssassin
    ContributorAuthor

    Also, I think you're right workflow wise, the ! negates the value of the check, which is not desired here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions