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 Jul 29, 2024
1 parent d36b1e0 commit d7adc9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 26 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,7 @@

name: CI

on:
push:
# Versioned branches and tags are ignored for OCIO <= 1.x.x
branches-ignore:
- RB-0.*
- RB-1.*
- gh-pages
tags-ignore:
- v0.*
- v1.*
pull_request:
branches-ignore:
- RB-0.*
- RB-1.*
- gh-pages
tags-ignore:
- v0.*
- v1.*
on: [push]

jobs:
# Linux jobs run in Docker containers, so the latest OS version is OK. macOS
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/wheel_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ on:
- pyproject.toml
- setup.cfg
- setup.py
schedule:
# Nightly build
- cron: "0 0 * * *"
# schedule:
# # Nightly build
# - cron: "0 0 * * *"

jobs:
# Linux jobs run in Docker containers (manylinux), so the latest OS version
Expand All @@ -45,9 +45,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 @@ -318,7 +318,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 +332,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 "dev1")


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

0 comments on commit d7adc9d

Please sign in to comment.