From 56a026628c879bc82cc4deaaf62c77783060bba3 Mon Sep 17 00:00:00 2001 From: Craig West Date: Fri, 18 Jul 2025 09:20:57 +0100 Subject: [PATCH] feat: edit release output --- .github/workflows/ci_template.yaml | 12 ++++++------ TODO.md | 11 ----------- 2 files changed, 6 insertions(+), 17 deletions(-) delete mode 100644 TODO.md diff --git a/.github/workflows/ci_template.yaml b/.github/workflows/ci_template.yaml index 4663bf8..ac1c8e9 100644 --- a/.github/workflows/ci_template.yaml +++ b/.github/workflows/ci_template.yaml @@ -452,11 +452,11 @@ jobs: def generate_release_notes(next_version, current_version, features, fixes, breaking, other): """Generate formatted release notes""" # notes = f"# Release ${{ needs.semantic_release.outputs.next-version }}\n\n" - notes = "${{ steps.changelog-commit.outputs.commit_hash }}\n\n" - notes += f"${{ steps.changelog-commit.outputs.commit_author }}\n" - notes += f"${{ steps.changelog-commit.outputs.commit_date }}\n\n" - notes += f"${{ needs.semantic_release.outputs.next-version }}\n\n" - notes += f"${{ steps.changelog-commit.outputs.commit_message }}\n\n" + notes = "Commit: ${{ steps.changelog-commit.outputs.commit_hash }}\n\n" + notes += f"Author: ${{ steps.changelog-commit.outputs.commit_author }}\n" + notes += f"Date: ${{ steps.changelog-commit.outputs.commit_date }}\n\n" + notes += f"Next Version: ${{ needs.semantic_release.outputs.next-version }}\n\n" + notes += f"Commit Message: ${{ steps.changelog-commit.outputs.commit_message }}\n\n" notes += f"**Release Date**: {datetime.now().strftime('%Y-%m-%d')}\n\n" # Add release date if breaking: @@ -474,7 +474,7 @@ jobs: if other: notes += "## 📝 Other Changes\n" notes += "\n".join(other) + "\n\n" - notes += "## CHANGELOG.md Section\n" + notes += "## CCHANGELOG\n" # Read the latest section from CHANGELOG.md if os.path.exists('latest_changelog_section.md'): with open('latest_changelog_section.md', 'r') as f: diff --git a/TODO.md b/TODO.md deleted file mode 100644 index 5f827ff..0000000 --- a/TODO.md +++ /dev/null @@ -1,11 +0,0 @@ -The goal on them will be to: -- Assess what's in place currently (e.g., on the AI Backend codebase we have some checks, although I don't know how comprehensive they are) -- Propose what should be added in each of them to ensure we reach production-ready code and software development "good practices" -- Establish and implement CI/CD pipelines and pre-commit hooks (e.g., ensure development in branches, pushing to main not allowed, linting and code formatting, bumpversion/versioning) -- Finally, define github actions to deploy on Azure - -There are several persons actively developing in them, I can introduce you to them. With your help, my goal is to define a set of "rules" we will always follow, irrespective of the type of project or programming language, to ensure hig-quality standards - -Documentation on the project is available at: https://www.notion.so/attercop/Wholepal-Supplier-Build-9a8297fada8f49ce9ad2413ae062d289 - -Regarding the list I outlined before, I would add, enforcer developers to always branch and developed features in branches. To have a main branch, which is protected, which only can receive merges from another branch, which let's call develop . Thus the workflow will be, main and develop start sync, developer branches from develop , the feature us developed and testes and merged into develop. Once that that feature, and others are done, they can be merged into main. Develop will have a CI/CD to deploy into Azure development environment and main to production one pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy