File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -221,26 +221,10 @@ jobs:
221
221
- name : Strip auto package from gitignore so it is included in package
222
222
run : |
223
223
sed -i '/\/pydra\/tasks\/mrtrix3\/${{ env.SUBPKG_NAME }}/d' .gitignore
224
- - name : Add auto-generated directory to git repo
225
- if : github.event_name == 'release' || github.event_name == 'repository_dispatch'
226
- run : |
227
- git add pydra/tasks/mrtrix3/$SUBPKG_NAME
228
- git commit -am"added auto-generated version to make new tag for package version"
229
- git status
230
- - name : Get latest version tag
231
- id : latest_tag
232
- run : |
233
- git fetch --tags
234
- echo "TAG=$(git tag -l | grep 'v.*' | sort -V | tail -n 1 | awk -F post '{print $1}')" >> $GITHUB_OUTPUT
235
- - name : Overwrite the tag of release event with latest commit (i.e. including the auto directory)
236
- if : github.event_name == 'release'
237
- run : |
238
- git tag -d ${{ steps.latest_tag.outputs.TAG }};
239
- git tag -a ${{ steps.latest_tag.outputs.TAG }} -m"Tag used to create a pydra-tasks-mrtrix3 release";
240
- - name : Set up Python 3.11
224
+ - name : Set up Python 3
241
225
uses : actions/setup-python@v3
242
226
with :
243
- python-version : 3.11
227
+ python-version : 3.x
244
228
- name : Install build tools
245
229
run : python -m pip install --upgrade pip twine build
246
230
- name : Build source and wheel distributions
You can’t perform that action at this time.
0 commit comments