Skip to content

Commit 2daf829

Browse files
committed
Merge branch 'RB-10.4' into main
2 parents e34cee7 + fb72adc commit 2daf829

File tree

3 files changed

+25
-8
lines changed

3 files changed

+25
-8
lines changed

.github/workflows/main.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333
linux-python2,
3434
linux-python2-debug,
3535
linux-python3,
36+
windows-python3,
37+
windows-python3-debug
3638
]
3739

3840
include:
@@ -70,7 +72,7 @@ jobs:
7072
options: .github/workflows/main/options.windows
7173
dependenciesURL: https://github.com/hypothetical-inc/gafferDependencies/releases/download/6.1.0/gafferDependencies-6.1.0-Python3-windows.zip
7274
tests: testCore testCorePython testScene testImage testAlembic testUSD testVDB
73-
publish: false
75+
publish: true
7476

7577
- name: windows-python3-debug
7678
os: windows-2019
@@ -93,7 +95,10 @@ jobs:
9395
sdk: 10.0.17763.0
9496

9597
- name: Install toolchain (Windows)
96-
run: python -m pip install scons
98+
run: |
99+
python -m pip install scons
100+
echo "PACKAGE_COMMAND=7z a -tzip" >> $env:GITHUB_ENV
101+
echo "PACKAGE_EXTENSION=zip" >> $env:GITHUB_ENV
97102
if: runner.os == 'Windows'
98103

99104
- name: Install toolchain (MacOS)
@@ -107,6 +112,8 @@ jobs:
107112
# _before_ anything we specify with `-isystem`, despite documentation to the
108113
# contrary. So we nuke the headers.
109114
rm -rf /usr/local/include/*
115+
echo PACKAGE_COMMAND=tar -czf >> $GITHUB_ENV
116+
echo PACKAGE_EXTENSION=tar.gz >> $GITHUB_ENV
110117
if: runner.os == 'macOS'
111118

112119
- name: Install toolchain (Linux)
@@ -121,6 +128,8 @@ jobs:
121128
# in later steps.
122129
echo $PATH > $GITHUB_PATH
123130
echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH >> $GITHUB_ENV
131+
echo PACKAGE_COMMAND=tar -czf >> $GITHUB_ENV
132+
echo PACKAGE_EXTENSION=tar.gz >> $GITHUB_ENV
124133
shell: bash
125134
if: runner.os == 'Linux'
126135

@@ -152,7 +161,7 @@ jobs:
152161
shell: bash
153162

154163
- name: Cache
155-
uses: actions/cache@v1
164+
uses: actions/cache@v3
156165
with:
157166
path: sconsCache
158167
key: ${{ runner.os }}-${{ matrix.containerImage }}-${{env.CORTEX_DEPENDENCIES_HASH}}-${{ matrix.buildType }}-${{ github.sha }}
@@ -175,19 +184,19 @@ jobs:
175184

176185
- name: Build Package
177186
run: |
178-
tar -czf ${{ env.CORTEX_BUILD_NAME }}.tar.gz ${{ env.CORTEX_BUILD_NAME }}
187+
${{ env.PACKAGE_COMMAND }} ${{ env.CORTEX_BUILD_NAME }}.${{env.PACKAGE_EXTENSION}} ${{ env.CORTEX_BUILD_NAME }}
179188
if: matrix.publish
180189

181190
- uses: actions/upload-artifact@v2
182191
with:
183192
name: ${{ env.CORTEX_BUILD_NAME }}
184-
path: ${{ env.CORTEX_BUILD_NAME }}.tar.gz
193+
path: ${{ env.CORTEX_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }}
185194
if: matrix.publish
186195

187196
- name: Publish Release
188197
run: |
189-
./.github/workflows/main/publishRelease.py --archive ${{ env.CORTEX_BUILD_NAME }}.tar.gz --repo ${{ github.repository }} --releaseId ${{ env.CORTEX_GITHUB_RELEASEID }}
190-
if: matrix.publish && env.CORTEX_GITHUB_RELEASEID != '' && runner.os != 'Windows'
198+
python ./.github/workflows/main/publishRelease.py --archive ${{ env.CORTEX_BUILD_NAME }}.${{ env.PACKAGE_EXTENSION }} --repo ${{ github.repository }} --releaseId ${{ env.CORTEX_GITHUB_RELEASEID }}
199+
if: matrix.publish && env.CORTEX_GITHUB_RELEASEID != ''
191200

192201
env:
193202
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Changes

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
10.4.2.1 (relative to 10.4.2.0)
2+
========
3+
4+
Build
5+
-----
6+
7+
- Added Windows package to build artifacts and release binaries.
8+
19
10.4.2.0 (relative to 10.4.1.2)
210
========
311

SConstruct

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ SConsignFile()
5757
ieCoreMilestoneVersion = 10 # for announcing major milestones - may contain all of the below
5858
ieCoreMajorVersion = 4 # backwards-incompatible changes
5959
ieCoreMinorVersion = 2 # new backwards-compatible features
60-
ieCorePatchVersion = 0 # bug fixes
60+
ieCorePatchVersion = 1 # bug fixes
6161
ieCoreVersionSuffix = "" # used for alpha/beta releases. Example: "a1", "b2", etc.
6262

6363
###########################################################################################

0 commit comments

Comments
 (0)