Skip to content

Commit

Permalink
Setup 2.4.0 for *test.pypi.org*.
Browse files Browse the repository at this point in the history
  • Loading branch information
KelSolaar committed Sep 18, 2024
1 parent bcd7382 commit cea8574
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 28 deletions.
34 changes: 7 additions & 27 deletions .github/workflows/wheel_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,7 @@

name: Wheel

on:
push:
# Workflow run on tags for v2 only.
tags:
- v2.*
pull_request:
# Workflow run on pull_request only when related files change.
branches-ignore:
- RB-0.*
- RB-1.*
- gh-pages
tags-ignore:
- v0.*
- v1.*
paths:
- .github/workflows/wheel_workflow.yml
- MANIFEST.in
- pyproject.toml
- setup.cfg
- setup.py
schedule:
# Nightly build
- cron: "0 0 * * *"
on: [push]

jobs:
# Linux jobs run in Docker containers (manylinux), so the latest OS version
Expand All @@ -45,9 +23,9 @@ jobs:
name: Build SDist
runs-on: ubuntu-latest
# Don't run on OCIO forks
if: |
github.event_name != 'schedule' ||
github.repository == 'AcademySoftwareFoundation/OpenColorIO'
# if: |
# github.event_name != 'schedule' ||
# github.repository == 'AcademySoftwareFoundation/OpenColorIO'

steps:

Expand Down Expand Up @@ -308,6 +286,7 @@ jobs:
env:
CIBW_BUILD: ${{ matrix.python }}
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_TEST_SKIP: "*"

- uses: actions/upload-artifact@v4
with:
Expand All @@ -318,7 +297,7 @@ jobs:
upload_pypi:
needs: [sdist, linux, macos, windows]
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
steps:
- uses: actions/setup-python@v5

Expand All @@ -332,3 +311,4 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ project(OpenColorIO
LANGUAGES CXX C)

# "dev", "beta1", rc1", etc or "" for an official release.
set(OpenColorIO_VERSION_RELEASE_TYPE "dev")
set(OpenColorIO_VERSION_RELEASE_TYPE "dev4")


###############################################################################
Expand Down

0 comments on commit cea8574

Please sign in to comment.