Compare commits

...

7 Commits

4 changed files with 9 additions and 15 deletions

View File

@ -1,6 +1,4 @@
name-template: '$RESOLVED_VERSION' tag-prefix: ''
tag-template: '$RESOLVED_VERSION'
tag-prefix: ""
categories: categories:
- title: '🚀 Features' - title: '🚀 Features'
labels: labels:
@ -56,3 +54,5 @@ replacers:
replace: '' replace: ''
exclude-labels: exclude-labels:
- 'skip-changelog' - 'skip-changelog'
filter-by-commitish: true

View File

@ -81,14 +81,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
config-name: release-drafter.yml config-name: release-drafter.yml
version: ${{ env.version }} version: ${{ env.VERSION }} # Pass the version variable
- name: Create and Upload Release - name: Create and Upload Release
id: create_release id: create_release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
tag_name: ${{ env.version }} tag_name: ${{ env.VERSION }}
name: Pre-Release ${{ env.version }} name: Pre-Release ${{ env.VERSION }}
body: | body: |
${{ steps.generate_notes.outputs.body }} ${{ steps.generate_notes.outputs.body }}

View File

@ -93,17 +93,11 @@ Get-ChildItem "config" | Where-Object {$psitem.extension -eq ".json"} | ForEach-
$script_content.Add($(Write-output "`$sync.configs.$($psitem.BaseName) = '$json' `| convertfrom-json" )) $script_content.Add($(Write-output "`$sync.configs.$($psitem.BaseName) = '$json' `| convertfrom-json" ))
} }
# Read the entire XAML file as a single string, preserving line breaks $xaml = (Get-Content "xaml\inputXML.xaml").replace("'","''")
$xaml = Get-Content "$workingdir\xaml\inputXML.xaml" -Raw
Update-Progress "Adding: Xaml " 90 Update-Progress "Adding: Xaml " 90
# Add the XAML content to $script_content using a here-string $script_content.Add($(Write-output "`$inputXML = '$xaml'"))
$script_content.Add(@"
`$inputXML = @'
$xaml
'@
"@)
$script_content.Add($(Get-Content "scripts\main.ps1")) $script_content.Add($(Get-Content "scripts\main.ps1"))

View File

@ -416,7 +416,7 @@ $sync["SearchBar"].Add_TextChanged({
# Retrieve the corresponding text block based on the generated name # Retrieve the corresponding text block based on the generated name
$textBlock = $sync[$textBlockName] $textBlock = $sync[$textBlockName]
if ($CheckBox.Value.Content.ToLower().Contains($textToSearch)) { if ($CheckBox.Value.Content.ToString().ToLower().Contains($textToSearch)) {
$CheckBox.Value.Visibility = "Visible" $CheckBox.Value.Visibility = "Visible"
$activeApplications += $sync.configs.applications.$checkboxName $activeApplications += $sync.configs.applications.$checkboxName
# Set the corresponding text block visibility # Set the corresponding text block visibility