Skip to content

Commit 378ef6c

Browse files
authored
#GITBUILD test
Added build timestamp to environment variables and release notes.
1 parent b4813e9 commit 378ef6c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ jobs:
185185
run: |
186186
# Save the current date and time to an environment variable
187187
echo "current_datetime=$(date +'%d/%m/%Y %H:%M')" >> $GITHUB_ENV
188+
echo "build_timestamp=$(date +'%H:%M:%S - %d/%m/%Y')" >> $GITHUB_ENV
188189
189190
# Get commits since last build
190191
- name: Get commits since last numeric CI tag
@@ -238,7 +239,9 @@ jobs:
238239
tag_name: ${{ github.run_number }}
239240
name: ${{ env.current_datetime }} (${{ github.run_number }})
240241
body: |
241-
Automated Release by GitHub Action CI
242+
Automated Release by GitHub Action CI.
243+
**Build time:** ${{ env.build_timestamp }}
244+
NOTE: Installer is experimental (and it loses settings from previous version)
242245
243246
### Commits in this release
244247
${{ steps.get_commits.outputs.commits }}

0 commit comments

Comments
 (0)