chore(release): Use YYYY.MM.DD format for release name

This commit is contained in:
Prad Nukala
2024-10-01 15:05:11 -04:00
parent 4108df82a0
commit a957447b13
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -22,16 +22,6 @@ jobs:
fetch-depth: 0
fetch-tags: true
- name: Get latest tag
run: |
# Fetch all tags
git fetch --tags
# Get the latest tag
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "Latest Tag: $LATEST_TAG"
# Checkout the latest tag
git checkout $LATEST_TAG
- uses: actions/setup-go@v5
with:
go-version: "1.22"
+1 -1
View File
@@ -54,7 +54,7 @@ release:
github:
owner: onsonr
name: sonr
name_template: "{{.Now.Format '2006.11.22'}}"
name_template: '{{.Now.Format "2006.01.02"}}'
draft: false
replace_existing_draft: true
replace_existing_artifacts: true