From d59d12fc2049dca1b90b8cb2af31a573803cd123 Mon Sep 17 00:00:00 2001 From: Tom Close Date: Sat, 18 May 2024 19:45:30 +1000 Subject: [PATCH] fixed post-release version lookup in ci-cd --- .github/workflows/ci-cd.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 15ec827..9e80028 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -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: @@ -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