This commit is contained in:
jem 2020-07-03 15:49:51 +02:00
parent 9bc6e2fd12
commit 89f54fb8eb
2 changed files with 30 additions and 35 deletions

View file

@ -8,40 +8,35 @@ jobs:
build: build:
name: stable build name: stable build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use python 3.x
uses: actions/setup-python@v2
with:
python-version: '3.x'
jobs: - name: install dependencies
build: run: |
name: build&upload python -m pip install --upgrade pip
runs-on: ubuntu-latest pip install pybuilder ddadevops deprecation setuptools
steps: - name: build stable release
- uses: actions/checkout@v2 env:
TWINE_USERNAME: dda
- name: Use python 3.x TWINE_PASSWORD: ${{ secrets.PYPI_DDA }}
uses: actions/setup-python@v2 run: |
with: pyb -P version=${{ github.ref }} publish upload
python-version: '3.x'
- name: Create GH Release
- name: install dependencies id: create_release
run: | uses: actions/create-release@v1
python -m pip install --upgrade pip env:
pip install pybuilder ddadevops deprecation setuptools GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
- name: build stable release tag_name: ${{ github.ref }}
env: release_name: Release ${{ github.ref }}
TWINE_USERNAME: dda draft: false
TWINE_PASSWORD: ${{ secrets.PYPI_DDA }} prerelease: false
run: |
pyb -P version=${{ github.ref }} publish upload
- name: Create GH Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish" default_task = "publish"
name = "ddadevops" name = "ddadevops"
version = "0.8.10.dev" version = "0.8.11.dev"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__ description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]