Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 4 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
python-version: [ '3.10' ]
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Build sdist
run: python -m pip install build && python -m build -s
Expand All @@ -60,30 +62,6 @@ jobs:
zip ion-python-source ./dist/amazon_ion-*.tar.gz
aws s3 mv ion-python-source.zip ${{ secrets.AWS_SOURCE_BUCKET_URL }} --acl bucket-owner-full-control

- name: Install the released source from PYPI
run: |
sleep 300s

for (( i=0; i<3; i++ ))
do
v=""

if ! (pip install --no-binary :all: "amazon.ion==${GITHUB_REF##*/v}") then
echo "Unable to install the desired version"
sleep 120s
continue
fi

v=$( pip show amazon.ion | grep Version )
break
done

if [[ $v != "Version: ${GITHUB_REF##*/v}" ]]
then
echo "Exiting because unable to install the new version from PYPI"
exit 1
fi

build-wheels:
name: Build wheels on ${{ matrix.os }}
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -107,6 +85,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up QEMU for Linux Builds
if: runner.os == 'Linux'
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Fix release workflow to install test dependencies (#431)
* Fix release workflow pypy version: pypy-3.8 to pypy-3.10 (#432)
* Bump py-build-cmake from ~=0.1.8 to ~=0.5.0 (#433)
* Fix release workflow: checkout submodules for wheel and sdist builds (#434)
* Updates ion-c submodule

### 0.14.0 (2026-04-22)
Expand Down
Loading