File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,25 @@ create_example_project() {
2222 mkdir -vp " $( dirname " $EXAMPLE_PROJECT_DIR " ) "
2323 cp -r " ${EXAMPLE_PROJECT_BASE_DIR} " " $EXAMPLE_PROJECT_DIR "
2424
25- pushd " $EXAMPLE_PROJECT_DIR " > /dev/null || return 1
2625 log " Constructing git history in repository"
26+ pushd " $EXAMPLE_PROJECT_DIR " > /dev/null || return 1
27+
28+ # Initialize and configure git (remove any signature requirements)
2729 git init
30+ git config --local user.email
" [email protected] " 31+ git config --local user.name " developer"
32+ git config --local commit.gpgSign false
33+ git config --local tag.gpgSign false
34+ git remote add origin " https://github.com/python-semantic-release/example-project.git"
35+
36+ # Create initial commit and tag
2837 git add .
2938 git commit -m " Initial commit"
30- git remote add origin " https://github.com/python-semantic-release/example-project.git"
3139
40+ # set default branch to main
41+ git branch -m main
42+
43+ # Create the first release (with commit & tag)
3244 cat << EOF >pyproject.toml
3345[project]
3446name = "example"
You can’t perform that action at this time.
0 commit comments