Logo
Explore Help
Sign In
kevinveenbirkenbach/pkgmgr
1
0
Fork 0
You've already forked pkgmgr
Code Issues Pull Requests Actions 8 Packages Projects Releases Wiki Activity
Files
2761e829cbee08cb3e183c17e3dcb2541f79e447
pkgmgr/tests/unit/pkgmgr/actions/release/test_init.py

15 lines
311 B
Python
Raw Normal View History

feat(release): refactor release workflow, tagging logic, and CLI integration Refactor the release implementation into a dedicated workflow module with clear separation of concerns. Enforce a safe, deterministic Git flow by always syncing with the remote before modifications, pushing only the current branch and the newly created version tag, and updating the floating *latest* tag only when the released version is the highest. Add explicit user prompts for confirmation and optional branch deletion, with a forced mode to skip interaction. Update CLI wiring to pass all relevant flags, add comprehensive unit tests for the new helpers and workflow entry points, and introduce detailed documentation describing the release process, safety rules, and execution flow.
2025-12-12 10:04:24 +01:00
from __future__ import annotations
import unittest
class TestReleasePackageInit(unittest.TestCase):
def test_release_is_reexported(self) -> None:
from pkgmgr.actions.release import release # noqa: F401
self.assertTrue(callable(release))
if __name__ == "__main__":
unittest.main()
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 247ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API