Skip to content

Commit

Permalink
preparing for first automatic release
Browse files Browse the repository at this point in the history
  • Loading branch information
BuddyVolly committed Sep 24, 2021
1 parent aec89ee commit c7d8688
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name='opensartoolkit',
packages=find_packages(),
include_package_data=True,
version='0.12.4',
version='0.12.5',
description='High-level functionality for the inventory, download '
'and pre-processing of Sentinel-1 data',
install_requires=[
Expand Down

0 comments on commit c7d8688

Please sign in to comment.