Skip to content

Commit 5f77f05

Browse files
committed
Setup 2.5.0 for *test.pypi.org*.
1 parent c5d6c1a commit 5f77f05

2 files changed

Lines changed: 8 additions & 28 deletions

File tree

.github/workflows/wheel_workflow.yml

Lines changed: 7 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,7 @@
44

55
name: Wheel
66

7-
on:
8-
push:
9-
# Workflow run on tags for v2 only.
10-
tags:
11-
- v2.*
12-
pull_request:
13-
# Workflow run on pull_request only when related files change.
14-
branches-ignore:
15-
- RB-0.*
16-
- RB-1.*
17-
- gh-pages
18-
tags-ignore:
19-
- v0.*
20-
- v1.*
21-
paths:
22-
- .github/workflows/wheel_workflow.yml
23-
- MANIFEST.in
24-
- pyproject.toml
25-
- setup.cfg
26-
- setup.py
27-
schedule:
28-
# Nightly build
29-
- cron: "0 0 * * *"
7+
on: [push]
308

319
jobs:
3210
# Linux jobs run in Docker containers (manylinux), so the latest OS version
@@ -45,9 +23,9 @@ jobs:
4523
name: Build SDist
4624
runs-on: ubuntu-latest
4725
# Don't run on OCIO forks
48-
if: |
49-
github.event_name != 'schedule' ||
50-
github.repository == 'AcademySoftwareFoundation/OpenColorIO'
26+
# if: |
27+
# github.event_name != 'schedule' ||
28+
# github.repository == 'AcademySoftwareFoundation/OpenColorIO'
5129

5230
steps:
5331

@@ -374,6 +352,7 @@ jobs:
374352
env:
375353
CIBW_BUILD: ${{ matrix.python }}
376354
CIBW_ARCHS: ${{ matrix.arch }}
355+
CIBW_TEST_SKIP: "*"
377356

378357
- uses: actions/upload-artifact@v4
379358
with:
@@ -384,7 +363,7 @@ jobs:
384363
upload_pypi:
385364
needs: [sdist, linux, macos, macos-arm, windows]
386365
runs-on: ubuntu-latest
387-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
366+
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
388367
steps:
389368
- uses: actions/setup-python@v5
390369

@@ -398,3 +377,4 @@ jobs:
398377
with:
399378
user: __token__
400379
password: ${{ secrets.PYPI_API_TOKEN }}
380+
repository-url: https://test.pypi.org/legacy/

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ project(OpenColorIO
3535
LANGUAGES CXX C)
3636

3737
# "dev", "beta1", rc1", etc or "" for an official release.
38-
set(OpenColorIO_VERSION_RELEASE_TYPE "dev")
38+
set(OpenColorIO_VERSION_RELEASE_TYPE "dev1")
3939

4040

4141
###############################################################################

0 commit comments

Comments
 (0)