Skip to content

Commit

Permalink
Add HEAD to use latest version instead of tag
Browse files Browse the repository at this point in the history
  • Loading branch information
twsl committed Dec 18, 2024
1 parent 653932c commit cf5aad7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cf5aad7

Please sign in to comment.