File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,17 @@ jobs:
10
10
create-release :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
+ - uses : actions/checkout@v2
14
+ with :
15
+ fetch-depth : 0
13
16
- name : Replace Versions
14
17
run : |
15
18
sed -i "s/^version = .*$/version = \"${{github.event.inputs.releaseversion}}\"/g" pyproject.toml
16
19
sed -i "s/^__version__ = .*$/__version__ = \"${{github.event.inputs.releaseversion}}\"/g" atcodertools/release_management/version.py
17
20
- name : Make sure diff exists
18
21
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
21
24
22
25
with :
23
26
author_name : github-actions
You can’t perform that action at this time.
0 commit comments