-
Notifications
You must be signed in to change notification settings - Fork 3
/
template.sh
executable file
·50 lines (34 loc) · 1.36 KB
/
template.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/sh
mustache $1 manifests/base/controller/kustomization.yaml > tmpfile
mv tmpfile manifests/base/controller/kustomization.yaml
mustache $1 manifests/base/tasks/kustomization.yaml > tmpfile
mv tmpfile manifests/base/tasks/kustomization.yaml
mustache $1 manifests/base/kustomization.yaml > tmpfile
mv tmpfile manifests/base/kustomization.yaml
mustache $1 manifests/overlays/stage/kustomization.yaml > tmpfile
mv tmpfile manifests/overlays/stage/kustomization.yaml
mustache $1 manifests/overlays/prod/kustomization.yaml > tmpfile
mv tmpfile manifests/overlays/prod/kustomization.yaml
mustache $1 src/app.ts > tmpfile
mv tmpfile src/app.ts
mustache $1 package.json > tmpfile
mv tmpfile package.json
mustache $1 package-lock.json > tmpfile
mv tmpfile package-lock.json
mv README.md README.old.md
mustache $1 README.template.md > tmpfile
mv tmpfile README.md
mustache $1 CONTRIBUTING.md > tmpfile
mv tmpfile CONTRIBUTING.md
mustache $1 CODE_OF_CONDUCT.md > tmpfile
mv tmpfile CODE_OF_CONDUCT.md
mustache $1 SUPPORT.md > tmpfile
mv tmpfile SUPPORT.md
mustache $1 SECURITY.md > tmpfile
mv tmpfile SECURITY.md
mustache $1 .github/workflows/pr.yaml > tmpfile
mv tmpfile .github/workflows/pr.yaml
mustache $1 .github/workflows/push.yaml > tmpfile
mv tmpfile .github/workflows/push.yaml
mustache $1 .github/workflows/release.yaml > tmpfile
mv tmpfile .github/workflows/release.yaml