Skip to content

Commit

Permalink
Screenshot + CI update
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Rider committed Mar 8, 2021
1 parent 4b4caf2 commit 731f6f8
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 32 deletions.
31 changes: 0 additions & 31 deletions .github/workflows/python-publish.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Release

on:
push:
branches: [ main ]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Autotagger
id: autotagger
uses: butlerlogic/action-autotag@stable
with:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
strategy: regex
tag_prefix: ''
root: "setup.cfg"
regex_pattern: "version = ([0-9\\.]{5}([-\\+][\\w\\.0-9]+)?)"
- name: Create Release
id: create_release
uses: actions/create-release@v1
if: steps.autotagger.outputs.tagcreated == 'yes'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.autotagger.outputs.tagname }}
release_name: Release ${{ steps.autotagger.outputs.tagname }}
body: |
${{ steps.autotagger.outputs.tagmessage }}
draft: false
prerelease: false
- name: Set up Python
uses: actions/setup-python@v2
if: steps.autotagger.outputs.tagcreated == 'yes'
with:
python-version: '3.x'
- name: Install dependencies
if: steps.autotagger.outputs.tagcreated == 'yes'
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
if: steps.autotagger.outputs.tagcreated == 'yes'
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Requires Plover version 4.0.0 or later

Run Plover entirely inside your terminal window!

TODO gif goes here
.. image:: console-ui.png

###############
Getting Started
Expand Down
Binary file added console-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 731f6f8

Please sign in to comment.