Skip to content
Merged
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
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release

on:
push:
tags:
- v*.*

jobs:
release-localstack-snapshot-job:
runs-on: ubuntu-latest
name: Release localstack-snapshot
permissions:
contents: write
id-token: write
environment:
name: pypi
url: https://pypi.org/p/localstack-snapshot
Comment on lines +15 to +17
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

praise: Nice! Following best practices here with the env! I added this env + workflow + repo as trusted publisher to the project on PyPi!


steps:
- name: Checkout repo
uses: actions/checkout@v5

- name: Verify and build Python distribution
run: make install lint test dist

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1