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
|
python -m pip install --upgrade pip
|
||||||
pip install pybuilder ddadevops deprecation setuptools
|
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:
|
env:
|
||||||
TWINE_USERNAME: dda
|
TWINE_USERNAME: dda
|
||||||
TWINE_PASSWORD: ${{ secrets.PYPI_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
|
1. every push will be published as dev-dependency
|
||||||
|
|
||||||
## Release
|
## Release
|
||||||
1. remove "dev" from version no in build.py
|
|
||||||
1. git commit -am "release"
|
1. git commit -am "release"
|
||||||
2. git tag [version]
|
2. git push --follow-tags
|
||||||
4. git push --tag
|
3. increase version no in build.py
|
||||||
5. increase version no in build.py & append *.dev
|
4. git commit -am "version bump"
|
||||||
7. git commit -am "version bump"
|
5. git push
|
||||||
8. git push
|
6. pip3 install --upgrade --user ddadevops
|
||||||
9. pip3 install --upgrade --user ddadevops
|
|
||||||
|
|
||||||
|
|
||||||
# License
|
# License
|
||||||
|
|
2
build.py
2
build.py
|
@ -28,7 +28,7 @@ use_plugin("python.distutils")
|
||||||
default_task = "publish"
|
default_task = "publish"
|
||||||
|
|
||||||
name = "ddadevops"
|
name = "ddadevops"
|
||||||
version = "0.8.7"
|
version = "0.8.8.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")]
|
||||||
|
|
Loading…
Reference in a new issue