Skip to content

Commit

Permalink
Merge pull request #43 from smoonlee/3.1.12.3-dev
Browse files Browse the repository at this point in the history
Executing Release Build
  • Loading branch information
smoonlee authored Jul 16, 2024
2 parents b8e9f52 + d651249 commit 8bfeabe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Microsoft.PowerShell_profile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,11 @@ Version: 3.1.11 - July 2024 | Created Update-PSProfile Function, Script Refactor
Version: 3.1.12 - July 2024 | YAML Release Pipeline for Profile Versioning, Added Profile Update Checker
version: 3.1.12.1 - July 2024 | Minor Script Fixes, From Development to Production Repository
version: 3.1.12.2 - July 2024 | Minor Script Fixes, From Development to Production Repository
version: 3.1.12.3 - July 2024 | Minor Script Fixes, From Development to Production Repository
#>

# Oh My Posh Profile Version
$profileVersion = '3.1.12.2'
$profileVersion = '3.1.12.3-dev'

# GitHub Repository Details
$gitRepositoryUrl = "https://api.github.com/repos/smoonlee/oh-my-posh-profile/releases"
Expand Down Expand Up @@ -78,7 +79,7 @@ if ($profileVersion -ne $newProfileReleaseTag) {
}

# Load Oh My Posh Application
oh-my-posh init powershell --config "$Env:LOCALAPPDATA\Programs\oh-my-posh\themes\themeNameHere" | Invoke-Expression
oh-my-posh init powershell --config "$env:POSH_THEMES_PATH\themeNameHere" | Invoke-Expression

# Local Oh-My-Posh Configuration
$env:POSH_AZURE_ENABLED = $true
Expand Down Expand Up @@ -235,7 +236,7 @@ function Get-PSProfileUpdate {
)

# Get Current Pwsh Theme
$pwshThemeName = Split-Path $Env:POSH_THEME -Leaf
$pwshThemeName = Split-Path $env:POSH_THEME -Leaf

Write-Output "Updating PowerShell Profile..." `r
Write-Output "Current Profile Version: $profileVersion"
Expand Down

0 comments on commit 8bfeabe

Please sign in to comment.