Skip to content

Update CHANGELOG.md

Update CHANGELOG.md #1

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*.*.*" # Triggers when a tag like 'v3.2.0' is pushed
jobs:
build-and-publish:
name: Build and Publish Packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish stac-fastapi-core
working-directory: stac_fastapi/core
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
# Build package
python setup.py sdist bdist_wheel
# Publish to PyPI
twine upload dist/*
- name: Build and publish stac-fastapi-elasticsearch
working-directory: stac_fastapi/elasticsearch
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
# Build package
python setup.py sdist bdist_wheel
# Publish to PyPI
twine upload dist/*
- name: Build and publish stac-fastapi-opensearch
working-directory: stac_fastapi/opensearch
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
# Build package
python setup.py sdist bdist_wheel
# Publish to PyPI
twine upload dist/*