Skip to content

Commit 2bb3ec3

Browse files
authored
Merge pull request #6 from Project-SEA-Stack/release/v1.0.0-beta.1
Release/v1.0.0 beta.1
2 parents 6cc49b3 + 7fd3fd4 commit 2bb3ec3

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ project(SEAStack
1111
LANGUAGES CXX
1212
)
1313

14-
# Version suffix for prerelease tags (e.g., "-beta", "-alpha", or empty for releases)
15-
set(SEASTACK_VERSION_SUFFIX "-beta")
14+
# Version suffix for prerelease tags (e.g., "-beta.1", "-rc.1", or empty for releases).
15+
# Keep this in sync with the current release branch name (release/v<PROJECT_VERSION><SUFFIX>).
16+
set(SEASTACK_VERSION_SUFFIX "-beta.1")
1617
set(SEASTACK_VERSION_FULL "${PROJECT_VERSION}${SEASTACK_VERSION_SUFFIX}")
1718

1819
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})

scripts/windows/build.ps1

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,14 @@ if ($Package) {
11041104
}
11051105
}
11061106

1107+
$stalePackages = Get-ChildItem -Path $buildDir -Filter "SEAStack-*.zip" -File -ErrorAction SilentlyContinue
1108+
foreach ($stalePackage in $stalePackages) {
1109+
Remove-Item -LiteralPath $stalePackage.FullName -Force
1110+
}
1111+
if ($stalePackages.Count -gt 0) {
1112+
Write-Detail "Removed $($stalePackages.Count) stale package ZIP(s)"
1113+
}
1114+
11071115
Push-Location $buildDir
11081116
try {
11091117
if (-not (Invoke-SeaStackTool -StepName "CPack" -Executable "cpack" -Arguments @("-C", $BuildType) -DiagLogPath $diagLogPath -ShowOutputOnHost:$Verbose)) {
@@ -1113,7 +1121,9 @@ if ($Package) {
11131121
Pop-Location
11141122
}
11151123

1116-
$pkg = Get-ChildItem (Join-Path $buildDir "SEAStack-*.zip") -ErrorAction SilentlyContinue | Select-Object -First 1
1124+
$pkg = Get-ChildItem -Path $buildDir -Filter "SEAStack-*.zip" -File -ErrorAction SilentlyContinue |
1125+
Sort-Object LastWriteTime -Descending |
1126+
Select-Object -First 1
11171127
if ($pkg) {
11181128
Write-OK ($pkg.Name + ' (' + [string][math]::Round($pkg.Length / 1MB, 1) + ' MB)')
11191129
$packageZipFullPath = $pkg.FullName

0 commit comments

Comments
 (0)