Compare commits

..

No commits in common. "ad81bab27491c6ea06a0325bee2468b44588de0a" and "2b80e14bf954e2cba07903e0c6822677fb97c3d9" have entirely different histories.

3 changed files with 8 additions and 10 deletions

View File

@ -2,15 +2,13 @@ name: Release WinUtil
on: on:
workflow_run: workflow_run:
workflows: ["Compile"] #Ensure Compile winget.ps1 is done workflows: ["Compile WinUtil"] #Ensure Compile winget.ps1 is done
types: types:
- completed - completed
jobs: jobs:
build-runspace: build-runspace:
runs-on: windows-latest runs-on: windows-latest
outputs:
version: ${{ steps.extract_version.outputs.version }}
steps: steps:
- name: Checkout Repository - name: Checkout Repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -23,7 +21,6 @@ jobs:
if ($_ -match 'Version\s*:\s*(\d{2}\.\d{2}\.\d{2})') { if ($_ -match 'Version\s*:\s*(\d{2}\.\d{2}\.\d{2})') {
$version = $matches[1] $version = $matches[1]
echo "version=$version" >> $GITHUB_ENV echo "version=$version" >> $GITHUB_ENV
echo "::set-output name=version::$version"
break break
} }
} }
@ -31,7 +28,7 @@ jobs:
Write-Error "Version not found in winutil.ps1" Write-Error "Version not found in winutil.ps1"
exit 1 exit 1
} }
shell: pwsh shell: pwsh
- name: Create and Upload Release - name: Create and Upload Release
id: create_release id: create_release
@ -39,6 +36,7 @@ jobs:
with: with:
tag_name: ${{ steps.extract_version.outputs.version }} tag_name: ${{ steps.extract_version.outputs.version }}
name: Release ${{ steps.extract_version.outputs.version }} name: Release ${{ steps.extract_version.outputs.version }}
body_path: path/to/release-notes.md
files: ./winutil.ps1 files: ./winutil.ps1
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -32,9 +32,9 @@ or by executing:
iwr -useb https://christitus.com/win | iex iwr -useb https://christitus.com/win | iex
``` ```
if for some reason this site is not reachable from your country please try running it directly from github (replace `RELEASE_TAG` with current release that you are interested in, for example `v2024.06.05`) if for some reason this site is not reachable from your country please try running it directly from github (replace 24.06.07 with current release that you are interested in)
``` ```
irm "https://github.com/ChrisTitusTech/winutil/releases/download/RELEASE_TAG/winutil.ps1" | iex irm "https://raw.githubusercontent.com/ChrisTitusTech/winutil/24.06.07/winutil.ps1" | iex
``` ```
#### Automation #### Automation
@ -127,7 +127,7 @@ If you encounter any challenges or problems with the script, I kindly request th
## Contribute Code ## Contribute Code
Pull Requests are now handled directly on the MAIN branch. This was done since we can now select specific releases to launch via releases in GitHub. If you adding, changing, or deleting an Application... submit to **APPLICATIONS branch**. We batch these in at the end of the month.
If doing a code change and you can submit a PR to main branch, but I am very selective about these. Do not use a code formatter, massive amounts of line changes, and make multiple feature changes. EACH FEATURE CHANGE SHOULD BE IT'S OWN Pull Request! If doing a code change and you can submit a PR to main branch, but I am very selective about these. Do not use a code formatter, massive amounts of line changes, and make multiple feature changes. EACH FEATURE CHANGE SHOULD BE IT'S OWN Pull Request!

View File

@ -8,7 +8,7 @@
Author : Chris Titus @christitustech Author : Chris Titus @christitustech
Runspace Author: @DeveloperDurp Runspace Author: @DeveloperDurp
GitHub : https://github.com/ChrisTitusTech GitHub : https://github.com/ChrisTitusTech
Version : 24.06.11 Version : 24.06.10
#> #>
param ( param (
[switch]$Debug, [switch]$Debug,
@ -45,7 +45,7 @@ Add-Type -AssemblyName System.Windows.Forms
# Variable to sync between runspaces # Variable to sync between runspaces
$sync = [Hashtable]::Synchronized(@{}) $sync = [Hashtable]::Synchronized(@{})
$sync.PSScriptRoot = $PSScriptRoot $sync.PSScriptRoot = $PSScriptRoot
$sync.version = "24.06.11" $sync.version = "24.06.10"
$sync.configs = @{} $sync.configs = @{}
$sync.ProcessRunning = $false $sync.ProcessRunning = $false