Skip to content

Commit 7c9069a

Browse files
committed
CI: Remove python working directory (#71)
1 parent c42317f commit 7c9069a

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.github/workflows/python-release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
version:
2626
description: 'Version'
2727
type: string
28-
default: 'master'
28+
default: 'main'
2929

3030

3131
jobs:
@@ -50,15 +50,13 @@ jobs:
5050

5151
- name: Set version
5252
run: python -m poetry version "${{ inputs.version }}"
53-
working-directory: ./python
54-
if: "${{ github.event.inputs.version != 'master' }}"
53+
if: "${{ github.event.inputs.version != 'main' }}"
5554

5655
# Publish the source distribution with the version that's in
5756
# the repository, otherwise the tests will fail
5857
- name: Compile source distribution
5958
run: python3 -m poetry build --format=sdist
6059
if: startsWith(matrix.os, 'ubuntu')
61-
working-directory: ./python
6260

6361
- name: Build wheels
6462
uses: pypa/[email protected]

mkdocs/docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ If you want to install the library on the host, you can simply run `pip3 install
4343
To set up IDEA with Poetry ([also on Loom](https://www.loom.com/share/6d36464d45f244729d91003e7f671fd2)):
4444

4545
- Open up the Python project in IntelliJ
46-
- Make sure that you're on latest master (that includes Poetry)
46+
- Make sure that you're on latest main (that includes Poetry)
4747
- Go to File -> Project Structure (⌘;)
4848
- Go to Platform Settings -> SDKs
4949
- Click the + sign -> Add Python SDK

mkdocs/docs/how-to-release.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ Both the source distribution (`sdist`) and the binary distributions (`wheels`) n
5454

5555
Before committing the files to the Apache SVN artifact distribution SVN hashes need to be generated, and those need to be signed with gpg to make sure that they are authentic.
5656

57-
Go to [Github Actions and run the `Python release` action](https://github.com/apache/iceberg/actions/workflows/python-release.yml). **Set the version to master, since we cannot modify the source**. Download the zip, and sign the files:
57+
Go to [Github Actions and run the `Python release` action](https://github.com/apache/iceberg/actions/workflows/python-release.yml). **Set the version to main, since we cannot modify the source**. Download the zip, and sign the files:
5858

5959
```bash
60-
cd release-master/
60+
cd release-main/
6161

6262
for name in $(ls pyiceberg-*.whl pyiceberg-*.tar.gz)
6363
do

0 commit comments

Comments
 (0)