From cf5aad75143234d84dbe1bd294166452557c0e11 Mon Sep 17 00:00:00 2001 From: twsl <45483159+twsl@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:23:35 +0000 Subject: [PATCH] Add HEAD to use latest version instead of tag --- .github/workflows/build.yaml | 2 +- README.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 23b784f..03aa53a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -50,7 +50,7 @@ jobs: run: poetry install --no-interaction - name: Test - run: poetry run copier copy ./ ./dist --data-file "./.github/assets/.copier-answers.yml" -f + run: poetry run copier copy ./ ./dist --data-file "./.github/assets/.copier-answers.yml" -f --vcs-ref=HEAD - name: Upload artifacts uses: actions/upload-artifact@v4 diff --git a/README.md b/README.md index aa235ee..3ec4ec4 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,16 @@ You can update the template in your destination folder with: copier update --trust path/to/destination ``` +### Develpment + +The devcontainer is already set up for you, just open the project in VSCode and you will be prompted to open the project in the devcontainer. + +To test the project you can run: + +```bash +copier copy ./ ./dist --data-file "./.github/assets/.copier-answers.yml" -f --vcs-ref=HEAD +``` + ### Variables The template uses the following variables to customize the project: