Skip to content

Commit

Permalink
Delete img/SSdownloadbutton.svg
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 committed Aug 21, 2024
1 parent 8173ec1 commit e3cfec7
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 65 deletions.
27 changes: 26 additions & 1 deletion .github/workflows/Sophia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,33 @@ jobs:
}
$Penultimate = (Invoke-RestMethod @Parameters).tag_name | Select-Object -Index 1
# Parse json for the latest script versions
$Parameters = @{
Uri = "https://raw.githubusercontent.com/farag2/Sophia-Script-for-Windows/master/sophia_script_versions.json"
UseBasicParsing = $true
Verbose = $true
}
$Sophia_Script_Windows_10_PowerShell_5_1 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_PowerShell_5_1
$Sophia_Script_Windows_10_PowerShell_7 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_PowerShell_7
$Sophia_Script_Windows_10_LTSC2019 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC2019
$Sophia_Script_Windows_10_LTSC2021 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_10_LTSC2021
$Sophia_Script_Windows_11_PowerShell_5_1 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_11_PowerShell_5_1
$Sophia_Script_Windows_11_PowerShell_7 = (Invoke-RestMethod @Parameters).Sophia_Script_Windows_11_PowerShell_7
$Sophia_Script_Wrapper = (Invoke-RestMethod @Parameters).Sophia_Script_Wrapper
# Replace variables with script latest versions
# No need to replace special characters with percent-encoding ones
(Get-Content -Path ReleaseNotesTemplate.md -Encoding utf8 -Raw).replace("NewVersion", "${{ github.ref_name }}").replace("OldVersion", $Penultimate) | Set-Content -Path ReleaseNotesTemplate.md -Encoding utf8 -Force
(Get-Content -Path ReleaseNotesTemplate.md -Encoding utf8 -Raw) | Foreach-Object -Process {
$_ -replace "NewVersion", "${{ github.ref_name }}" `
-replace "OldVersion", $Penultimate `
-replace "Sophia_Script_Windows_10_PowerShell_5_1", $Sophia_Script_Windows_10_PowerShell_5_1 `
-replace "Sophia_Script_Windows_10_PowerShell_7", $Sophia_Script_Windows_10_PowerShell_7 `
-replace "Sophia_Script_Windows_10_LTSC2019", $Sophia_Script_Windows_10_LTSC2019 `
-replace "Sophia_Script_Windows_10_LTSC2021", $Sophia_Script_Windows_10_LTSC2021 `
-replace "Sophia_Script_Windows_11_PowerShell_5_1", $Sophia_Script_Windows_11_PowerShell_5_1 `
-replace "Sophia_Script_Windows_11_PowerShell_7", $Sophia_Script_Windows_11_PowerShell_7 `
-replace "Sophia_Script_Wrapper", $Sophia_Script_Wrapper
} | Set-Content -Path ReleaseNotesTemplate.md -Encoding utf8 -Force
# https://trstringer.com/github-actions-multiline-strings/
Add-Content -Path $env:GITHUB_OUTPUT -Value "ReleaseBody=ReleaseNotesTemplate.md"
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@

</a><a href="https://ko-fi.com/farag"><img src="https://www.ko-fi.com/img/githubbutton_sm.svg" width=220px height=46px align="left"></a>

| ![ko-fi](https://img.shields.io/badge/tether-168363?style=for-the-badge&logo=tether&logoColor=white) |
|:----------------------------------------------------------------------------------------------------:|
| USDT (TRC20) |
| `TQtMjdocUWbKAeg1kLtB4ApjAVHt1v8Rtf` |

## System Requirements

[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562
Expand Down
5 changes: 0 additions & 5 deletions README_de-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@

</a><a href="https://ko-fi.com/farag"><img src="https://www.ko-fi.com/img/githubbutton_sm.svg" width=220px height=46px align="left"></a>

| ![ko-fi](https://img.shields.io/badge/tether-168363?style=for-the-badge&logo=tether&logoColor=white) |
|:----------------------------------------------------------------------------------------------------:|
| USDT (TRC20) |
| `TQtMjdocUWbKAeg1kLtB4ApjAVHt1v8Rtf` |

## System-Voraussetzungen

[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562
Expand Down
5 changes: 0 additions & 5 deletions README_uk-ua.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,6 @@

</a><a href="https://ko-fi.com/farag"><img src="https://www.ko-fi.com/img/githubbutton_sm.svg" width=220px height=46px align="left"></a>

| ![ko-fi](https://img.shields.io/badge/tether-168363?style=for-the-badge&logo=tether&logoColor=white) |
|:----------------------------------------------------------------------------------------------------:|
| USDT (TRC20) |
| `TQtMjdocUWbKAeg1kLtB4ApjAVHt1v8Rtf` |

## Системні вимоги

[Windows-10]: https://support.microsoft.com/topic/windows-10-update-history-8127c2c6-6edf-4fdf-8b9f-0f7be1ef3562
Expand Down
34 changes: 34 additions & 0 deletions ReleaseNotesTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,37 @@

Diff from vOldVersion
[OldVersion...NewVersion](https://github.com/farag2/Sophia-Script-for-Windows/compare/OldVersion...NewVersion)


***

[Sophia-Script-Windows-10-PowerShell-5-1]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.10.vSophia_Script_Windows_10_PowerShell_5_1.zip
[Sophia-Script-Windows-10-PowerShell-5-1-badge]: https://img.shields.io/badge/Windows%2010%20x64-PowerShell%205.1-67b7d1.svg

[Sophia-Script-Windows-10-PowerShell-7]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.10.PowerShell.7.vSophia_Script_Windows_10_PowerShell_7.zip
[Sophia-Script-Windows-10-PowerShell-7-badge]: https://img.shields.io/badge/Windows%2010%20x64-PowerShell%207-67b7d1.svg

[Sophia-Script-Windows-10-LTSC2019]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.10.LTSC.2019.vSophia_Script_Windows_10_LTSC2019.zip
[Sophia-Script-Windows-10-LTSC2019-badge]: https://img.shields.io/badge/Windows%2010%20x64-LTSC%202019-67b7d1.svg

[Sophia-Script-Windows-10-LTSC2021]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.10.LTSC.2021.vSophia_Script_Windows_10_LTSC2021.zip
[Sophia-Script-Windows-10-LTSC2021-badge]: https://img.shields.io/badge/Windows%2010%20x64-LTSC%202021-67b7d1.svg

[Sophia-Script-Windows-11-PowerShell-5-1]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.11.vSophia_Script_Windows_11_PowerShell_5_1.zip
[Sophia-Script-Windows-11-PowerShell-5-1-badge]: https://img.shields.io/badge/Windows%2011%20x64-PowerShell%205.1-67b7d1.svg

[Sophia-Script-Windows-11-PowerShell-7]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.for.Windows.11.PowerShell.7.vSophia_Script_Windows_11_PowerShell_7.zip
[Sophia-Script-Windows-11-PowerShell-7-badge]: https://img.shields.io/badge/Windows%2011%20x64-PowerShell%207-67b7d1.svg

[Sophia-Script-Wrapper]: https://github.com/farag2/Sophia-Script-for-Windows/releases/download/NewVersion/Sophia.Script.Wrapper.vSophia_Script_Wrapper.zip
[Sophia-Script-Wrapper-badge]: https://img.shields.io/badge/Sophia%20Script%20Wrapper-67b7d1.svg

| Download |
|:----------------------------------------------------------------------------------------------------|
| [![Script][Sophia-Script-Windows-10-PowerShell-5-1-badge]][Sophia-Script-Windows-10-PowerShell-5-1] |
| [![Script][Sophia-Script-Windows-10-PowerShell-7-badge]][Sophia-Script-Windows-10-PowerShell-7] |
| [![Script][Sophia-Script-Windows-10-LTSC2019-badge]][Sophia-Script-Windows-10-LTSC2019] |
| [![Script][Sophia-Script-Windows-10-LTSC2021-badge]][Sophia-Script-Windows-10-LTSC2021] |
| [![Script][Sophia-Script-Windows-11-PowerShell-5-1-badge]][Sophia-Script-Windows-11-PowerShell-5-1] |
| [![Script][Sophia-Script-Windows-11-PowerShell-7-badge]][Sophia-Script-Windows-11-PowerShell-7] |
| [![Script][Sophia-Script-Wrapper-badge]][Sophia-Script-Wrapper] |
49 changes: 0 additions & 49 deletions img/SSdownloadbutton.svg

This file was deleted.

0 comments on commit e3cfec7

Please sign in to comment.