Skip to content

Commit

Permalink
feat: adding renovate support for powershell
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Feb 22, 2024
1 parent 2ef07f1 commit 4ea8f6d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
16 changes: 16 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"extends": [
"config:recommended"
],
"regexManagers": [
{
"fileMatch": [
"*.sls"
],
"matchStrings": [
"# renovate:\\sdatasource=(?<datasource>.*?)\\sdepName=(?<depName>.*?)( versioning=(?<versioning>.*?))?\\s.*?version\\s=\\s\"(?<currentValue>.*)\"\\s-.*?\\s.*?hash\\s=\\s\"(?<currentDigest>.*?)\""
],
"versioningTemplate": "{{#if versioning}}{{versioning}}{{else}}semver{{/if}}"
}
]
}
5 changes: 0 additions & 5 deletions renovate.json

This file was deleted.

5 changes: 3 additions & 2 deletions sift/packages/powershell.sls
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{%- set base_url = "https://github.com/Powershell/Powershell/releases/download/v" -%}
# renovate: datasource=github-release-attachments depName=Powershell/Powershell
{%- set version = "7.4.1" -%}
{%- set filename = "powershell_7.4.1-1.deb_amd64.deb" -%}
{%- set hash = "625B7EE0B71147421723CB6022A41B5D8FC0D6E19DF25B1240008EE491BF6997" -%}
{%- set filename = "powershell_{{ version }}-1.deb_amd64.deb" -%}
{%- set base_url = "https://github.com/Powershell/Powershell/releases/download/v" -%}

include:
- sift.packages.libicu
Expand Down

0 comments on commit 4ea8f6d

Please sign in to comment.