Skip to content

Commit

Permalink
Configure CI for publishing to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienbeau committed Oct 8, 2022
1 parent 88571a3 commit a71df06
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 34 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI

on:
pull_request:
push:
branches:
- "master"
tags:
- "[0-9]+.[0-9]+.[0-9]+"

jobs:
deploy:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Build a binary wheel and a source tarball
run: pipx run build
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

4 changes: 0 additions & 4 deletions ci/before_deploy.sh

This file was deleted.

5 changes: 0 additions & 5 deletions ci/install.sh

This file was deleted.

3 changes: 0 additions & 3 deletions ci/script.sh

This file was deleted.

2 changes: 1 addition & 1 deletion docky/cmd/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class Docky(cli.Application):
PROGNAME = "docky"
VERSION = '7.0.7'
VERSION = '7.1.0'
SUBCOMMAND_HELPMSG = None

def _run(self, cmd, retcode=FG):
Expand Down

0 comments on commit a71df06

Please sign in to comment.