Skip to content

Commit

Permalink
support dev version for themes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandermeindl committed Nov 23, 2024
1 parent 8c2b67e commit 31cdaf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/redmine/tasks/instance_theme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
vars:
repo_url: '{{ theme[preferred_git_url] | default(theme["url"]) }}'
repo_dest: '{{ redmine_theme_dir }}/{{ theme["target_dir"] | default(theme_name) }}'
repo_version: '{{ theme["version"] | default("main") }}'
repo_version: '{{ theme["dev_version"] if instance.plugin_version is defined and instance.plugin_version == "dev" and theme["dev_version"] is defined else theme["version"] }}'

0 comments on commit 31cdaf7

Please sign in to comment.