refactor: improve release naming and environment variable handling

This commit is contained in:
Prad Nukala 2025-01-01 14:52:37 -05:00
parent 7c8fa0045c
commit a90111907d

View File

@ -166,7 +166,7 @@ release:
github: github:
owner: onsonr owner: onsonr
name: sonr name: sonr
name_template: "Release {{.Version}}" name_template: "Release {{ time '2006' }}.{{ time '02' | int }}.{{ time 'Monday' | int }}"
draft: false draft: false
replace_existing_draft: true replace_existing_draft: true
replace_existing_artifacts: true replace_existing_artifacts: true
@ -183,7 +183,7 @@ announce:
reddit: reddit:
enabled: true enabled: true
application_id: {{ .Env.REDDIT_APP_ID }} application_id: "{{ .Env.REDDIT_APP_ID }}"
username: {{ .Env.REDDIT_USERNAME }} username: "{{ .Env.REDDIT_USERNAME }}"
title_template: 'Sonr {{ .Tag }} was just released!' title_template: 'Sonr {{ .Tag }} was just released!'