mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
refactor: improve release naming and environment variable handling
This commit is contained in:
parent
7c8fa0045c
commit
a90111907d
@ -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!'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user