improved the build process

Dieser Commit ist enthalten in:
Sebastian Tobie 2024-03-16 10:39:59 +01:00
Ursprung 84eb37ffa7
Commit 1ea397da14
4 geänderte Dateien mit 16 neuen und 16 gelöschten Zeilen

Datei anzeigen

@ -1,8 +1,13 @@
VERSION := $(shell hatch version)
format:
black .
isort .
changelog:
version:
@yq --yaml-output-grammar-version 1.2 -i -y -s --arg 'version' "${VERSION}" '.[0] | (.version = $$version)' galaxy.yml
changelog: version
antsibull-changelog generate
docs: format
@ -11,10 +16,10 @@ docs: format
clean-dist:
rm -rf dist
hatch-release: clean-dist
hatch-release: clean-dist version
hatch build
galaxy-release: clean-dist changelog
galaxy-release: clean-dist changelog version
ansible-galaxy collection build --output-path dist/galaxy
upload: galaxy-release hatch-release

Datei anzeigen

@ -3,3 +3,4 @@ minor_changes:
- Added an type hint to the update_doc function
- Added Type hint to the dictionary argument of the diff method
- added an wrapper for fail_json and exit_json
- improved the version update, the version is now only in one place the source of truth

Datei anzeigen

@ -1,28 +1,22 @@
---
namespace: sebastian
name: base
version: 0.4.2
version: 0.4.3
readme: README.md
authors:
- Sebastian Tobie
description: >
The base of my ansible collections. It provides the nessesary tools for my modules
description: The base of my ansible collections. It provides the nessesary tools for
my modules
license_file: LICENSE.txt
tags:
- linux
- systemd
dependencies: {}
repository: https://gitea.sebastian-tobie.de/ansible/ansible-module.git
# documentation: https://gitea.sebastian-tobie.de/ansible/ansible-module
homepage: https://gitea.sebastian-tobie.de/ansible/ansible-module
issues: https://gitea.sebastian-tobie.de/ansible/ansible-module/issues
build_ignore:
- "*.gz"
- ".*"
- '*.gz'
- .*
- Makefile
- pyproject.toml
- upload.sh
@ -30,5 +24,5 @@ build_ignore:
- changelogs
- docs
- src
- "coverage.*"
- coverage.*
- dist

Datei anzeigen

@ -1 +1 @@
__version__ = "0.4.2"
__version__ = "0.4.3"