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

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