Skip to content

Commit

Permalink
Update pipeline to point to correct branch
Browse files Browse the repository at this point in the history
  • Loading branch information
rehan892 committed Jan 6, 2025
1 parent 74f39dd commit 56c7fed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/setup-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
git config --global user.name "CI CD Setup Project"
REPO_URL="https://github.com/sixfeetup/scaf-templates.git"
$HOME/.local/bin/scaf myproject --defaults --vcs-ref 443-update-template $REPO_URL
$HOME/.local/bin/scaf myproject --defaults --vcs-ref main $REPO_URL
6 changes: 0 additions & 6 deletions scaf
Original file line number Diff line number Diff line change
Expand Up @@ -221,12 +221,6 @@ else
IS_CHALLENGE_MODE="False"
fi

PYTHON_VERSION=$($PYTHON_CMD -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')
if [[ "$PYTHON_VERSION" != 3.8 && "$PYTHON_VERSION" != 3.9 && "$PYTHON_VERSION" != 3.10 && "$PYTHON_VERSION" != 3.11 && "$PYTHON_VERSION" != 3.12 ]]; then
echo "Django 4.1 only supports Python 3.8, 3.9, 3.10, 3.11, or 3.12."
exit 1
fi

echo "Creating your project..."
uv run --with isort,black,copier copier copy $COOKIECUTTER_OPTIONS $REPO_URL . --trust -d "is_challange_mode=$IS_CHALLENGE_MODE" -d "is_project_slug=$COOKIECUTTER_SLUG"

Expand Down

0 comments on commit 56c7fed

Please sign in to comment.