Skip to content

ability to exclude .git/ from occ integrity:sign-app #13408

@violoncelloCH

Description

@violoncelloCH

I wanted to sign an app by checking out a git version tag on my dev setup, removing the unwanted files like README.md and do occ integrity:sign-app. This also included the files of the hidden .git/ directory in signatures.json, which I don't want in my release and exclude from the archive with tar --exclude .git/.
As far as I know there is no option to exclude specific directories from occ integrity:sign-app. If there would be an option like that I could directly create the release in my repository without the need to copy the app to another directory to remove .git/ first.

nextcloud/user_external#22 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions