File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,23 @@ jobs:
29
29
- name : Set env
30
30
run : echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
31
31
32
+ - name : Print RELEASE_VERSION
33
+ run : echo "${{ env.RELEASE_VERSION }}"
34
+
35
+ - name : Show version lines
36
+ run : |
37
+ grep 'version =' pyproject.toml
38
+ grep '__version__' servicex_analysis_utils/__init__.py
32
39
33
40
- name : Update Version
34
41
run : |
35
42
sed -i '/version =/ s/= "[^"][^"]*"/ = "${{ env.RELEASE_VERSION }}"/' pyproject.toml
36
43
sed -i '/__version__ =/ s/= "[^"][^"]*"/ = "${{ env.RELEASE_VERSION }}"/' servicex_analysis_utils/__init__.py
37
44
45
+ - name : Show updated version lines
46
+ run : |
47
+ grep 'version =' pyproject.toml
48
+ grep '__version__' servicex_analysis_utils/__init__.py
38
49
39
50
- name : Build a sdist and wheel
40
51
run : |
@@ -111,7 +122,7 @@ jobs:
111
122
run : |
112
123
git config --local user.name "github-actions[bot]"
113
124
git config --local user.email "github-actions[bot]@users.noreply.github.com"
114
- git add pyproject.toml servicex_analysis_utils/__init__.py
125
+ git add ./ pyproject.toml servicex_analysis_utils/__init__.py
115
126
116
127
# Check if there are changes to commit
117
128
if ! git diff --cached --quiet; then
You can’t perform that action at this time.
0 commit comments