forked from zappa/Zappa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'zappa:master' into master
- Loading branch information
Showing
10 changed files
with
113 additions
and
46 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: CD | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
dry-run: | ||
type: boolean | ||
description: "Dry-run" | ||
required: true | ||
default: true | ||
version: | ||
description: "SemVer string for new version" | ||
required: true | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: protected | ||
steps: | ||
- name: Checkout code repository | ||
uses: actions/checkout@v4 | ||
- name: Build Python packages | ||
uses: hynek/build-and-inspect-python-package@v2 | ||
|
||
tag: | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: protected | ||
permissions: | ||
contents: write | ||
outputs: | ||
new_tag: ${{ steps.tag_version.outputs.new_tag }} | ||
changelog: ${{ steps.tag_version.outputs.changelog }} | ||
steps: | ||
- name: Checkout code repository | ||
uses: actions/checkout@v4 | ||
- name: Tag new version | ||
id: tag_version | ||
uses: mathieudutour/[email protected] | ||
with: | ||
github_token: ${{ github.token }} | ||
default_bump: "false" | ||
custom_tag: ${{ inputs.version }} | ||
tag_prefix: "" | ||
dry_run: ${{ inputs.dry-run }} | ||
|
||
release: | ||
needs: | ||
- build | ||
- tag | ||
runs-on: ubuntu-latest | ||
environment: | ||
name: protected | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Download built Python packages | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: Packages | ||
path: dist | ||
- name: Create GitHub Release with Python packages | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
artifacts: dist/* | ||
tag: ${{ needs.tag.outputs.new_tag }} | ||
generateReleaseNotes: true | ||
draft: ${{ inputs.dry-run }} | ||
|
||
publish: | ||
needs: release | ||
runs-on: ubuntu-latest | ||
if: ${{ ! inputs.dry-run }} | ||
environment: | ||
name: publish | ||
permissions: | ||
id-token: write | ||
steps: | ||
- name: Download built Python package | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: Packages | ||
path: dist | ||
- name: Publish package to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,9 +30,11 @@ | |
description="Server-less Python Web Services for AWS Lambda and API Gateway", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/zappa/Zappa", | ||
url="https://zappa.ws/zappa", | ||
author="Rich Jones", | ||
author_email="[email protected]", | ||
maintainer="Alex DelVecchio", | ||
maintainer_email="[email protected]", | ||
entry_points={ | ||
"console_scripts": [ | ||
"zappa=zappa.cli:handle", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,4 @@ def running_in_docker() -> bool: | |
) | ||
raise RuntimeError(err_msg) | ||
|
||
__version__ = "0.58.0" | ||
__version__ = "0.59.0" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters