Recent update breaks GitVersion
chadgrant opened this issue · comments
Chad Grant commented
Previous config:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: "5.x"
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0
with:
useConfigFile: true
Gitversion now errors with "unsupported extension name extensions.worktreeconfig"
I was able to fix it with:
uses: actions/checkout@v4
with:
fetch-depth: 0
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: fix git
run: |
git config --unset-all extensions.worktreeconfig || true
git config --global --list
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v0
with:
versionSpec: "5.x"
- name: Determine Version
id: gitversion
uses: gittools/actions/gitversion/execute@v0
with:
useConfigFile: true
John Wesley Walker III commented
Workaround: pin workflows to actions/checkout@v4.1.1
Proposed fix: #1692
John Wesley Walker III commented
We have created release v4.1.4
and marked it as pre-release. Absent any other issues, we plan to promote v4.1.4
to v4
and latest
by end-of-week.
John Wesley Walker III commented
v4
and latest
now point to release v4.1.4