Skip to content

Commit

Permalink
v0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbazzan committed Aug 2, 2021
1 parent 8ac7ef7 commit e854468
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 43 deletions.
File renamed without changes.
33 changes: 33 additions & 0 deletions .github/workflows/b_python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: PyPI

on:
release:
types: [created]


jobs:
deploy:

runs-on: ubuntu-20.04

steps:

- uses: actions/checkout@v2

- name: Set up Python
if: startsWith(github.ref, 'refs/tags')
uses: actions/setup-python@v2
with:
python-version: '3.8'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flit
- name: Build and Publish package
run: python -m flit publish
env:
FLIT_USERNAME: __token__
FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
41 changes: 0 additions & 41 deletions .github/workflows/python-publish.yml

This file was deleted.

4 changes: 2 additions & 2 deletions pynation/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

"""Find information about different countries."""
# TODO: Edit Version for every build
__version__ = "0.1"

__version__ = "0.2"

0 comments on commit e854468

Please sign in to comment.