release
This commit is contained in:
parent
03d9c81f10
commit
fe91d6e67c
3 changed files with 16 additions and 9 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
@ -20,7 +20,16 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
pip install pybuilder ddadevops deprecation setuptools
|
||||
|
||||
- name: build em
|
||||
- name: build stable release
|
||||
if: ${{ github.tag == '[0-9]+.[0-9]+.[0-9]' }}
|
||||
env:
|
||||
TWINE_USERNAME: dda
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_DDA }}
|
||||
run: |
|
||||
pyb -P version=${{ github.tag }} publish upload
|
||||
|
||||
- name: build unstable release
|
||||
if: ${{ github.tag != '[0-9]+.[0-9]+.[0-9]' }}
|
||||
env:
|
||||
TWINE_USERNAME: dda
|
||||
TWINE_PASSWORD: ${{ secrets.PYPI_DDA }}
|
||||
|
|
12
README.md
12
README.md
|
@ -216,14 +216,12 @@ def rotate_credentials_out(project):
|
|||
1. every push will be published as dev-dependency
|
||||
|
||||
## Release
|
||||
1. remove "dev" from version no in build.py
|
||||
1. git commit -am "release"
|
||||
2. git tag [version]
|
||||
4. git push --tag
|
||||
5. increase version no in build.py & append *.dev
|
||||
7. git commit -am "version bump"
|
||||
8. git push
|
||||
9. pip3 install --upgrade --user ddadevops
|
||||
2. git push --follow-tags
|
||||
3. increase version no in build.py
|
||||
4. git commit -am "version bump"
|
||||
5. git push
|
||||
6. pip3 install --upgrade --user ddadevops
|
||||
|
||||
|
||||
# License
|
||||
|
|
2
build.py
2
build.py
|
@ -28,7 +28,7 @@ use_plugin("python.distutils")
|
|||
default_task = "publish"
|
||||
|
||||
name = "ddadevops"
|
||||
version = "0.8.7"
|
||||
version = "0.8.8.dev"
|
||||
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
|
||||
description = __doc__
|
||||
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
|
||||
|
|
Loading…
Reference in a new issue