Skip to content

Commit

Permalink
Merge pull request #142 from digitalsleuth/powershell_24
Browse files Browse the repository at this point in the history
Update PowerShell for 24
  • Loading branch information
ekristen authored Jan 22, 2025
2 parents ca1a8c3 + c1e6d80 commit 5636102
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions sift/packages/powershell.sls
Original file line number Diff line number Diff line change
@@ -1,24 +1,32 @@
# Name: PowerShell
# Website: https://microsoft.com/powershell
# Description: Linux package for PowerShell
# Category:
# Author: Microsoft
# License: MIT License (https://github.com/PowerShell/PowerShell/blob/master/LICENSE.txt)
# Notes:

{# renovate: datasource=github-release-attachments depName=Powershell/Powershell #}
{%- set version = "7.4.1" -%}
{%- set hash = "625B7EE0B71147421723CB6022A41B5D8FC0D6E19DF25B1240008EE491BF6997" -%}
{%- set version = "7.4.6" -%}
{%- set hash = "79642721f0bc9baf07dafaab68ece1cbd822f86722492acf9b4031d41029a735" -%}
{%- set filename = "powershell_" ~ version ~ "-1.deb_amd64.deb" -%}
{%- set base_url = "https://github.com/Powershell/Powershell/releases/download/v" -%}

include:
- sift.packages.libicu

sift-powershell-source:
sift-package-powershell-source:
file.managed:
- name: /var/cache/sift/archives/{{ filename }}
- source: "{{ base_url }}{{ version }}/{{ filename }}"
- source_hash: sha256={{ hash }}
- makedirs: True

sift-powershell:
sift-package-powershell:
pkg.installed:
- sources:
- powershell: /var/cache/sift/archives/{{ filename }}
- watch:
- file: sift-powershell-source
- file: sift-package-powershell-source
- require:
- sls: sift.packages.libicu

0 comments on commit 5636102

Please sign in to comment.