Skip to content

Commit

Permalink
Merge pull request #60 from nipype/ci-cd-fix
Browse files Browse the repository at this point in the history
fixed post-release version lookup in ci-cd
  • Loading branch information
tclose committed May 18, 2024
2 parents 4ca1f4f + d59d12f commit c452a7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ name: CI/CD

on:
push:
branches: [ master, develop ]
branches: [ main, develop ]
pull_request:
branches: [ master, develop ]
branches: [ main, develop ]
release:
types: [published]
repository_dispatch:
Expand Down Expand Up @@ -336,7 +336,7 @@ jobs:
- name: Generate post-release tag based on Nipype and Nipype2Pydra versions
id: post_release_tag
run: |
POST=$(python -c "from pydra.tasks.fsl.auto._version import *; print(post_release)")
POST=$(python -c "from pydra.tasks.fsl.auto._post_release import *; print(post_release)")
echo "TAG=${{ steps.latest_tag.outputs.TAG }}post${POST}" >> $GITHUB_OUTPUT
- name: Add auto directory to git repo
Expand Down

0 comments on commit c452a7c

Please sign in to comment.