Skip to content

Conversation

@bdubaut
Copy link

@bdubaut bdubaut commented Apr 18, 2021

Description

This PR adds a --ci option to the mix git_ops.release task. as a result there will not be an exception to be raised when there is no version to build. This should felp people with CI pipelines that make releases for them.

Usage

In your CI job:

mix git_ops.release --ci --yes

Contributor checklist

  • My commit messages follow the Conventional Commit Message Format
    For example: fix: Multiply by appropriate coefficient, or
    feat(Calculator): Correctly preserve history
    Any explanation or long form information in your commit message should be
    in a separate paragraph, separated by a blank line from the primary message
  • Features include unit/acceptance tests

closes #48

This option does not raise an error when a version is not required to be
released.
@sourcelevel-bot
Copy link

Hello, @bdubaut! This is your first Pull Request that will be reviewed by SourceLevel, an automatic Code Review service. It will leave comments on this diff with potential issues and style violations found in the code as you push new commits. You can also see all the issues found on this Pull Request on its review page. Please check our documentation for more information.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 174

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.8%) to 84.395%

Totals Coverage Status
Change from base Build 173: 0.8%
Covered Lines: 265
Relevant Lines: 314

💛 - Coveralls

@bdubaut bdubaut closed this Apr 18, 2021
@bdubaut bdubaut deleted the add-ci-option branch April 18, 2021 08:08
@bdubaut bdubaut restored the add-ci-option branch April 18, 2021 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Why raise when no changes should result in a new release version?

2 participants