Skip to content

Commit

Permalink
Skip git security check for git owner inside the snap container
Browse files Browse the repository at this point in the history
  • Loading branch information
MirkoFerrati committed Aug 18, 2023
1 parent e599e88 commit b742cef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap_core22/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ parts:
- libfreetype6
override-pull: |
craftctl default
git config --global --add safe.directory '*'
version="$(git describe --always --tags| sed -e 's/^v//;s/-/+git/;y/-/./')"
[ -n "$(echo $version | grep "+git")" ] && grade=devel || grade=stable
craftctl set version="$version"
Expand Down

0 comments on commit b742cef

Please sign in to comment.