Skip to content

Commit 05cf6ab

Browse files
committed
Fix github actions
1 parent 2ef0b90 commit 05cf6ab

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/create-release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,17 @@ jobs:
1010
create-release:
1111
runs-on: ubuntu-latest
1212
steps:
13+
- uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
1316
- name: Replace Versions
1417
run: |
1518
sed -i "s/^version = .*$/version = \"${{github.event.inputs.releaseversion}}\"/g" pyproject.toml
1619
sed -i "s/^__version__ = .*$/__version__ = \"${{github.event.inputs.releaseversion}}\"/g" atcodertools/release_management/version.py
1720
- name: Make sure diff exists
1821
run: |
19-
git diff --stat --exit-code atcodertools/release_management/version.py
20-
git diff --stat --exit-code pyproject.toml
22+
! git diff --stat --exit-code atcodertools/release_management/version.py
23+
! git diff --stat --exit-code pyproject.toml
2124
- uses: EndBug/[email protected]
2225
with:
2326
author_name: github-actions

0 commit comments

Comments
 (0)