Skip to content

Commit

Permalink
ci: bump version in the post-commit stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Realiserad committed Oct 12, 2024
1 parent 28f7eeb commit d9b2e95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
"mounts": [
"source=${localEnv:HOME}/.config/fish-ai.ini,target=/home/vscode/.config/fish-ai.ini,type=bind,consistency=cached"
],
"postCreateCommand": "pre-commit install -t pre-commit -t commit-msg"
"postCreateCommand": "pre-commit install -t pre-commit -t commit-msg -t post-commit"
}
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ repos:
name: Bump version
entry: ./ops/bump-version.fish
language: script
stages: [commit-msg]
stages: [post-commit]
always_run: true
ci:
autofix_commit_msg: 'style: modified by hook'
autoupdate_commit_msg: 'ci: pre-commit autoupdate'
Expand Down

0 comments on commit d9b2e95

Please sign in to comment.