Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions ci/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ steps:
publishWebProjects: false
zipAfterPublish: false
modifyOutputPath: false
projects: 'src/ACUConsole/ACUConsole.csproj'

projects: 'src/ACUConsole/ACUConsole.csproj'
arguments: '-r linux-arm64 --configuration $(BuildConfiguration) --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:IncludeAllContentForSelfExtract=true --output $(Build.ArtifactStagingDirectory)/TestConsole/linux-arm64'

- task: ArchiveFiles@2
Expand Down
7 changes: 6 additions & 1 deletion scripts/Get-Version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ param(

# Set default path if not provided
if (-not $BuildPropsPath) {
$BuildPropsPath = Join-Path $PSScriptRoot ".." "Directory.Build.props"
if ($PSScriptRoot) {
$BuildPropsPath = Join-Path $PSScriptRoot ".." "Directory.Build.props"
} else {
# Fallback for cases where PSScriptRoot is not available
$BuildPropsPath = Join-Path (Get-Location) "Directory.Build.props"
}
}

function Get-Version {
Expand Down
7 changes: 6 additions & 1 deletion scripts/Increment-Version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ param(

# Set default path if not provided
if (-not $BuildPropsPath) {
$BuildPropsPath = Join-Path $PSScriptRoot ".." "Directory.Build.props"
if ($PSScriptRoot) {
$BuildPropsPath = Join-Path $PSScriptRoot ".." "Directory.Build.props"
} else {
# Fallback for cases where PSScriptRoot is not available
$BuildPropsPath = Join-Path (Get-Location) "Directory.Build.props"
}
}

function Get-CurrentVersion {
Expand Down
7 changes: 6 additions & 1 deletion scripts/Set-Version.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ param(

# Set default path if not provided
if (-not $BuildPropsPath) {
$BuildPropsPath = Join-Path $PSScriptRoot ".." "Directory.Build.props"
if ($PSScriptRoot) {
$BuildPropsPath = Join-Path $PSScriptRoot ".." "Directory.Build.props"
} else {
# Fallback for cases where PSScriptRoot is not available
$BuildPropsPath = Join-Path (Get-Location) "Directory.Build.props"
}
}

function Validate-Version {
Expand Down