Skip to content

Improve Release Process with Travis #963

Closed
@kdavisk6

Description

@kdavisk6

Releasing feign, while simple, can be troublesome due to the updates we've made recently in an attempt to provide initial support for JDK 11.

The current release process assumes a single job in travis and our changes to support JDK 11 split each build into 2 jobs, one for JDK 8 and other for JDK 11. This poses an issue when releasing as the build process will attempt to tag and release twice. To avoid this, we, the maintainers, temporarily disable the JDK 11 builds, push the release, then re-enable them again after the release is complete.

In addition, the release process requires a temporary tag to trigger the process. This results in two tags for each release. We typically delete the trigger tag afterwards to reduce confusion.

I feel this should not be necessary and that releasing should be "easy". To make this "easier", I'm proposing the following changes:

  1. Take advantage for Travis' Conditional Build Stages to separate the test stage from the deploy stage.
  2. Update this new deploy stage to run only when a tag is created, removing the need to create a temporary release tag.
  3. Provide an automated way of creating the release tag, to reduce errors.

I've create a PR #962 that demonstrates these changes. Looking forward to your feedback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalProposed Specification or API change

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions