Skip to content

Commit 4ae0fbc

Browse files
committed
refactor: Update .gitignore, CI workflow, and release script
Update .gitignore to include 'artifact/', change artifact upload path in python-publish workflow, and modify release script to use 'artifact/' directory Signed-off-by: loonghao <[email protected]>
1 parent 40c9713 commit 4ae0fbc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/upload-artifact@v4
5151
with:
5252
name: portable_rez-${{ steps.get_tag_name.outputs.version }}-${{ matrix.target.triple }}
53-
path: .zip/
53+
path: artifact/portable_rez-${{ steps.get_tag_name.outputs.version }}-${{ matrix.target.triple }}.rez-*.zip
5454

5555
upload-artifact:
5656
needs: deploy

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
# Rez build output
1111
build/
12+
artifact/
1213

1314
# Coverage output
1415
.coverage

nox_actions/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def build_exe(session: nox.Session) -> None:
6767
f.write(template)
6868

6969
if args.release:
70-
temp_dir = os.path.join(THIS_ROOT, ".zip")
70+
temp_dir = os.path.join(THIS_ROOT, "artifact")
7171
version = str(args.version)
7272
print(f"make zip to current version: {version}...")
7373
os.makedirs(temp_dir, exist_ok=True)

0 commit comments

Comments
 (0)