Skip to content

Commit 46a6e3f

Browse files
committed
build: 🔧 reorder copier variables
1 parent 99b89c1 commit 46a6e3f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

copier.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ is_seedcase_project:
5555
help: "Is this package part of the Seedcase Project?"
5656
default: true
5757

58+
github_repo:
59+
type: str
60+
default: "{{ _copier_conf.dst_path | realpath | basename }}"
61+
when: false
62+
5863
github_user:
5964
type: str
6065
help: "What is the name of the GitHub user or organisation where the repository will be or is stored?"
@@ -97,13 +102,6 @@ github_board_number:
97102
The board number must be an integer.
98103
{% endif %}
99104
100-
# Configurations not asked
101-
102-
github_repo:
103-
type: str
104-
default: "{{ _copier_conf.dst_path | realpath | basename }}"
105-
when: false
106-
107105
github_repo_snake_case:
108106
type: str
109107
default: "{{github_repo | replace('-', '_') | replace('.', '_')}}"

0 commit comments

Comments
 (0)