Skip to content

Commit 8bc8365

Browse files
authored
Exclude template.md from install/update (#333)
This should fix an issue with the install/update script, since the infra template also installs/updates this file. Tested the install script locally: ![CleanShot 2024-05-01 at 10 25 56@2x](https://github.com/navapbc/template-application-nextjs/assets/371943/66a091f2-aec1-4fb7-8fe1-f09f27408272)
1 parent a459966 commit 8bc8365

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

template-only-bin/install-template.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ echo "Remove files relevant only to template development"
2525
rm .github/workflows/template-only-*
2626
rm -rf .github/ISSUE_TEMPLATE
2727
rm -rf docs/decisions/template
28+
rm docs/decisions/template.md

template-only-bin/update-template.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ echo "Applying patch"
3737
# Note: Keep this list in sync with the removed files in install-template.sh
3838
EXCLUDE_OPT="--exclude=.github/workflows/template-only-* \
3939
--exclude=.github/ISSUE_TEMPLATE \
40+
--exclude=docs/decisions/template.md \
4041
--exclude=docs/decisions/template"
4142
git apply $EXCLUDE_OPT --allow-empty template-application-nextjs/patch
4243

0 commit comments

Comments
 (0)