From facd7680ab363f8295d4d7bd6cb02005d93ccb5d Mon Sep 17 00:00:00 2001
From: XargonWan <xargonwan@gmail.com>
Date: Tue, 23 Jan 2024 10:19:14 +0100
Subject: [PATCH] WORKFLOW: better branch name x2

---
 .github/workflows/build_mame.yml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build_mame.yml b/.github/workflows/build_mame.yml
index b04b239..8e97f9d 100644
--- a/.github/workflows/build_mame.yml
+++ b/.github/workflows/build_mame.yml
@@ -57,19 +57,17 @@ jobs:
       - name: Get branch name
         id: branch_name
         run: echo "BRANCH_NAME=$(echo $GITHUB_REF | sed 's|refs/heads/||')" >> $GITHUB_ENV
-        # TODO: I need to enhance this
-        #run: echo "BRANCH_NAME=main" >> $GITHUB_ENV
 
       - name: Get date
         id: date
-        run: echo "DATE=$(date +'%d%m%y')" >> $GITHUB_ENV
+        run: echo "DATE=$(date +'%d%m%y.%H%M%S')" >> $GITHUB_ENV
 
       - name: Publish the artifacts in a release
         uses: ncipollo/release-action@v1
         with:
           tag: "${{env.BRANCH_NAME}}-${{env.DATE}}"
           body: |
-            # Release Notes (Cooker)
+            # Release Notes
             These are the artifact of RetroDECK MAME, commit: ${{ github.event.repository.full_name }}@${{github.sha}}.
             On branch [${{env.BRANCH_NAME}}](https://github.com/XargonWan/RetroDECK-MAME/tree/${{env.BRANCH_NAME}}).