chore(release): Use YYYY.MM.DD format for release name
This commit is contained in:
1 parent
4108df82a0
commit
a957447b13
2 files changed
+1
-11
No files matched your search
@@ -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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user