Browse Source

fix default value fir --tag-check option

master
Niklas Rosenstein 11 months ago
parent
commit
edb6575ec0
Signed by: NiklasRosenstein GPG Key ID: 06D269B33D25F6C6
2 changed files with 2 additions and 2 deletions
  1. + 1
    - 1
      .drone.yml
  2. + 1
    - 1
      src/shore/__main__.py

+ 1
- 1
.drone.yml

@ -11,7 +11,7 @@ steps:
- pip install twine pytest -e .
- pytest
- shore status
- shore verify --tag "$DRONE_TAG" --update-check=ignore || true
- shore verify --tag "$DRONE_TAG" --update-check=ignore
- shore bump git
- shore build setuptools

+ 1
- 1
src/shore/__main__.py

@ -326,7 +326,7 @@ def update(skip_checks, dry, stage):
@cli.command('verify')
@click.option('--tag', '-t', help='Specify the tag from CI checks to match with the tag produced by shore.')
@click.option('--tag-check', type=click.Choice(['require', 'if-present', 'skip', 'ignore']), default='do-if-present')
@click.option('--tag-check', type=click.Choice(['require', 'if-present', 'skip', 'ignore']), default='if-present')
@click.option('--update-check', type=click.Choice(['require', 'skip', 'ignore']), default='require')
def verify(tag, tag_check, update_check):
""" Check whether "update" would change any files. """

Loading…
Cancel
Save