refactor(tekton): refactor tekton tasks in v0 and v1 (#3960)
This pull request refactors and simplifies the Tekton pipeline tasks related to release versioning and publishing, consolidating duplicated task definitions and updating publishing mechanisms. The main changes remove legacy or duplicate tasks, update references to use unified tasks, and modernize publishing workflows to improve maintainability and consistency.
**Task Consolidation and Cleanup:**
* Removed the duplicate task definition file `pingcap-get-set-release-version-v2.yaml` and updated all pipeline and trigger references to use the unified `pingcap-get-set-release-version.yaml` task instead. [[1]](diffhunk://#diff-9904c8dfc5da304d83fed6591586b52d82f83f304bd7641f083791d98fb20451L1-L98) [[2]](diffhunk://#diff-b3ad744dc416f00a5cfdf0a3482ce0b28851fb5143d4803324f7a62ccf6b8da2L114-R114) [[3]](diffhunk://#diff-7105fa5dc14ee53ecd0311f48abc73f38ae7208972577f059468cff7ff127161L115-R115) [[4]](diffhunk://#diff-75e58ead6fb8faa3f05e0b191d4cb441a23b812d5477f1cde9a54112554b2b15L108-R108) [[5]](diffhunk://#diff-44b93b34fe06d513d544c9243056c1fbcaf3c1d3437837118d2025fb7d30aeceL114-R114) * Deleted the legacy `publish-tiup-from-oci-artifact-v2.yaml` task and updated all references to use the improved `publish-tiup-from-oci-artifact.yaml` task. [[1]](diffhunk://#diff-bf25b0455749259966b3b6651a8c1b7143f15b047cd2a00ff1b489fe18007cdeL1-L61) [[2]](diffhunk://#diff-199ad12714152b02c2d5ab23117efd5f06ea2aae8455997f28705b5032a6791bL20-R20) [[3]](diffhunk://#diff-199ad12714152b02c2d5ab23117efd5f06ea2aae8455997f28705b5032a6791bL34-R34) [[4]](diffhunk://#diff-199ad12714152b02c2d5ab23117efd5f06ea2aae8455997f28705b5032a6791bL61-R61) [[5]](diffhunk://#diff-b7c6ccea8ad1ff826547d7b3c9f881f31a95528a5ce5b6d69393d0a7c70cfed8L32-L38)
**Versioning and Tagging Improvements:**
* Refactored the `pingcap-get-set-release-version.yaml` task to use a more robust versioning strategy, including enhanced tag cleanup logic, standardized version extraction, and support for additional tag formats. [[1]](diffhunk://#diff-796adf3998f91e550cd7d7b2f999e3cf25c33f90476644e1abdde67762c6c49aR1-R23) [[2]](diffhunk://#diff-796adf3998f91e550cd7d7b2f999e3cf25c33f90476644e1abdde67762c6c49aL23-R98)
**Publishing Workflow Modernization:**
* Updated publisher CLI usage in publishing tasks to use the latest image and binary paths, switching from `/app/publisher-cli` to `/ko-app/publisher-cli` and updating publisher URLs to production defaults. [[1]](diffhunk://#diff-e7d6c35dd6dd95b2529036322d6f22db8167551dfb327f051509d6f1de065c98L17-R35) [[2]](diffhunk://#diff-0ebdc3b11098ae2103ea89d2e4239ce27359f9d58392c092c423da22af048079L23-R25) [[3]](diffhunk://#diff-07fcb5c91aa30a750f46a110705b69d0ad391099c06cdd067fa3e77b719b4b21L16-R64)
**Resource List Maintenance:**
* Cleaned up resource lists in `kustomization.yaml` by removing references to deprecated task files.
These changes streamline pipeline definitions, reduce maintenance overhead, and ensure that publishing and versioning workflows are consistent and up-to-date. (commit: 11c6450)