Skip to content

Commit e81dedb

Browse files
committed
Git: Strip development assets from release archive
Signed-off-by: 林博仁(Buo-ren Lin) <Buo.Ren.Lin@gmail.com>
1 parent 60ae6aa commit e81dedb

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.gitattributes

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Git path attributes configuration file
2+
#
3+
# Defining attributes per path
4+
#
5+
# Reference:
6+
# - Git - gitattributes Documentation
7+
# https://git-scm.com/docs/gitattributes
8+
#
9+
# This file is based on The Commons Gitattributes Templates
10+
# https://gitlab.com/brlin/the-commons-gitattributes-templates
11+
#
12+
# SPDX-License-Identifier: CC-BY-SA-4.0
13+
# Copyright © 2020 林博仁(Buo-ren, Lin) <Buo.Ren.Lin@gmail.com>
14+
15+
# Exclude development assets from source archive
16+
/.* export-ignore
17+
/continuous-integration/ export-ignore
18+
19+
# Exclude development assets exclusive licenses
20+
/LICENSES/WTFPL.* export-ignore
21+
22+
# Include dep5 declaration file in release archive
23+
/.reuse/ -export-ignore

0 commit comments

Comments
 (0)