diff --git a/.github/workflows/manual-build.yml b/.github/workflows/manual-build.yml index 7218401..0f509e5 100644 --- a/.github/workflows/manual-build.yml +++ b/.github/workflows/manual-build.yml @@ -18,12 +18,6 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ github.event.inputs.branch }} - - name: Extract Version - id: extract_version - run: | - version=$(python3 -c "import version; print(f'dev-{version.__version__}')") - echo "VERSION=$version" >> $GITHUB_ENV - # Extract branch name and latest commit SHA - name: Extract branch name and commit SHA id: branch_info @@ -35,6 +29,11 @@ jobs: - name: Create DEV_BUILD file run: | echo "${{ env.BRANCH_NAME }}-${{ env.COMMIT_SHA }}" > DEV_BUILD + - name: Extract Version + id: extract_version + run: | + version=$(python3 -c "import version; print(f'${{ env.BRANCH_NAME}}-{version.__version__}')") + echo "VERSION=$version" >> $GITHUB_ENV # Set up Docker - name: Set up Docker Buildx