Skip to content

Commit 4be1e1b

Browse files
Judahmeekjustin808
andauthored
Add Timestamp to Release Tag (#647)
Co-authored-by: Justin Gordon <justin@shakacode.com>
1 parent 15f28b9 commit 4be1e1b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/promote-staging-to-production.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ jobs:
3636
run: |
3737
# Get the current date in YYYY-MM-DD format
3838
RELEASE_DATE=$(date '+%Y-%m-%d')
39+
TIMESTAMP=$(date '+%H%M')
3940
4041
# Create a release tag
41-
RELEASE_TAG="production-${RELEASE_DATE}"
42+
RELEASE_TAG="production-${RELEASE_DATE}-${TIMESTAMP}"
4243
4344
# Create GitHub release
4445
gh release create "${RELEASE_TAG}" \
45-
--title "Production Release ${RELEASE_DATE}" \
46-
--notes "🚀 Production deployment on ${RELEASE_DATE}"
46+
--title "Production Release ${RELEASE_DATE} ${TIMESTAMP}" \
47+
--notes "🚀 Production deployment on ${RELEASE_DATE} at ${TIMESTAMP}"

0 commit comments

Comments
 (0)