Skip to content

Integrate an exclude flag #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 22, 2018
Merged

Integrate an exclude flag #2

merged 1 commit into from
Jun 22, 2018

Conversation

tboerger
Copy link
Contributor

Enable an option to exclude glob patterns like it's available for the
file flag, that way we can exclude for example .sha256 files from being
signed while the rest can be signed in specific folders.

Enable an option to exclude glob patterns like it's available for the
file flag, that way we can exclude for example .sha256 files from being
signed while the rest can be signed in specific folders.
@tboerger
Copy link
Contributor Author

An example could be like this:

  gpg-sign:
    image: plugins/gpgsign:1
    pull: true
    secrets: [ gpgsign_key, gpgsign_passphrase ]
    detach_sign: true
    files:
      - dist/release/*
    excludes:
      - dist/release/*.sha265

@tboerger tboerger changed the title Integrate an eclude flag Integrate an exclude flag Jun 22, 2018
@tboerger tboerger merged commit d275a83 into master Jun 22, 2018
@tboerger tboerger deleted the add-excludes branch June 22, 2018 16:44
sapk added a commit to sapk-fork/gitea that referenced this pull request Jun 22, 2018
lunny pushed a commit to go-gitea/gitea that referenced this pull request Jun 24, 2018
* Add gpg-sign step to drone

* add compressed releases to gpg-sign targets

* Use exclude to simplify file list

drone-plugins/drone-gpgsign#2
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.

2 participants