From bae970a2c0b3eba38edda7ebb44b32082f770386 Mon Sep 17 00:00:00 2001 From: semantic-release Date: Wed, 20 Mar 2024 10:39:46 +0000 Subject: [PATCH 1/3] chore(release): :rocket: 0.38.4 [skip ci] Automatically generated by python-semantic-release --- CHANGELOG.md | 6 ++++++ chezmoi/.chezmoidata.yaml | 2 +- pyproject.toml | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1179bdb..0e228fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ +## v0.38.4 (2024-03-20) + +### Fix + +* **templates:** Update environment variable default values ([`0cf1245`](https://github.com/entelecheia/dotfiles/commit/0cf124560065d83d7328b0486331ca2930250995)) + ## v0.38.3 (2024-03-19) ### Fix diff --git a/chezmoi/.chezmoidata.yaml b/chezmoi/.chezmoidata.yaml index 89611c2..725ec92 100644 --- a/chezmoi/.chezmoidata.yaml +++ b/chezmoi/.chezmoidata.yaml @@ -1,4 +1,4 @@ -DOTFILES_VERSION: 0.38.3 +DOTFILES_VERSION: 0.38.4 packages: - name: 1password-cli apt: true diff --git a/pyproject.toml b/pyproject.toml index 024af4a..5d44472 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dotfiles" -version = "0.38.3" +version = "0.38.4" description = "Easily manage and synchronize your dotfiles across multiple environments with the Dotfiles project, streamlining your development setup and CI/CD pipeline." authors = ["Young Joon Lee "] license = "MIT" From e26b3729648a877e1c984851088512f8da7e9370 Mon Sep 17 00:00:00 2001 From: Young Joon Lee Date: Wed, 20 Mar 2024 19:40:13 +0900 Subject: [PATCH 2/3] Release (#130) From a727cd1d7b2e07d9661f020adc794ab03f27dd12 Mon Sep 17 00:00:00 2001 From: Young Joon Lee Date: Thu, 21 Mar 2024 04:08:32 +0900 Subject: [PATCH 3/3] fix(chezmoi): add conditional check for setting empty values --- chezmoi/.chezmoi.yaml.tmpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chezmoi/.chezmoi.yaml.tmpl b/chezmoi/.chezmoi.yaml.tmpl index d39da8e..98341dd 100644 --- a/chezmoi/.chezmoi.yaml.tmpl +++ b/chezmoi/.chezmoi.yaml.tmpl @@ -120,11 +120,17 @@ # {{- if and (hasKey . "github") (hasKey .github "token") .github.token -}} # {{- $github_token = .github.token -}} # {{- end -}} +# {{- if eq $github_token "NULL" "null" -}} +# {{- $github_token = "" -}} +# {{- end -}} # {{- $gpg_passphrase := or (env "GPG_PASSPHRASE") "" -}} # {{- if and (hasKey . "gnupg") (hasKey .gnupg "passphrase") -}} # {{- $gpg_passphrase = .gnupg.passphrase -}} # {{- end -}} +# {{- if eq $gpg_passphrase "NULL" "null" -}} +# {{- $gpg_passphrase = "" -}} +# {{- end -}} # {{- $age_recipients:= or (env "AGE_RECIPIENTS") "" -}} # {{- $ssh_homedir := or (joinPath .chezmoi.homeDir ".ssh") -}}