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: 28 additions & 0 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Release Builder
on:
release:
types: [published]
jobs:
build:
name: Python Release Builder
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install build
run: >-
python3 -m
pip install
build
--user
- name: Build the sdist and wheel
run: >-
python3 -m
build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
32 changes: 32 additions & 0 deletions .github/workflows/ci-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Snapshot Builder
on:
push:
branches: [ main ]
tags-ignore:
- "[0-9]+.[0-9]+.[0-9]+"
- "[0-9]+.[0-9]+.[0-9]+.[0-9]+"
jobs:
build:
name: Python Snapshot Builder
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install build
run: >-
python3 -m
pip install
build
--user
- name: Build the sdist and wheel
run: >-
python3 -m
build
- name: Publish to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build:
python: "3.11"
jobs:
pre_build:
- sphinx-apidoc -F -H "App Store Server Library" -A "Apple Inc." -V "0.1.0" -e -a -o _staging . tests setup.py
- sphinx-apidoc -F -H "App Store Server Library" -A "Apple Inc." -V "0.2.0" -e -a -o _staging . tests setup.py

sphinx:
configuration: _staging/conf.py
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Changelog

## 0.2.0

- Correct type in LastTransactionsItem's status field [#11] (https://github.com/apple/app-store-server-library-python/pull/11)
- Fix default value None for fields should require an Optional type [#6] (https://github.com/apple/app-store-server-library-python/pull/6)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name="app-store-server-library",
version="0.1.0",
version="0.2.0",
description="The App Store Server Library",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down