mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-01 14:55:38 -05:00
Drop version number in name of generated build artifacts
This commit is contained in:
parent
7304fa349e
commit
886639fe24
4
.github/scripts/.package.zsh
vendored
4
.github/scripts/.package.zsh
vendored
|
|
@ -134,7 +134,7 @@ Usage: %B${functrace[1]%:*}%b <option> [<options>]
|
|||
if [[ ${host_os} == 'macos' ]] {
|
||||
autoload -Uz check_packages read_codesign read_codesign_installer read_codesign_pass
|
||||
|
||||
local output_name="${product_name}-${product_version}-${host_os}-${target##*-}.pkg"
|
||||
local output_name="${product_name}-${host_os}-${target##*-}.pkg"
|
||||
|
||||
if [[ ! -d ${project_root}/release/${product_name}.plugin ]] {
|
||||
log_error 'No release artifact found. Run the build script or the CMake install procedure first.'
|
||||
|
|
@ -183,7 +183,7 @@ Usage: %B${functrace[1]%:*}%b <option> [<options>]
|
|||
popd
|
||||
} elif [[ ${host_os} == 'linux' ]] {
|
||||
if (( ${+ZIP} )) {
|
||||
local output_name="${product_name}-${product_version}-${host_os}-${target##*-}.zip"
|
||||
local output_name="${product_name}-${host_os}-${target##*-}.zip"
|
||||
pushd ${project_root}/release
|
||||
zip -r "${output_name}" *
|
||||
popd
|
||||
|
|
|
|||
3
.github/scripts/Package-Windows.ps1
vendored
3
.github/scripts/Package-Windows.ps1
vendored
|
|
@ -38,9 +38,8 @@ function Package {
|
|||
|
||||
$BuildSpec = Get-Content -Path ${BuildSpecFile} -Raw | ConvertFrom-Json
|
||||
$ProductName = $BuildSpec.name
|
||||
$ProductVersion = $BuildSpec.version
|
||||
|
||||
$OutputName = "${ProductName}-${ProductVersion}-windows-${Target}"
|
||||
$OutputName = "${ProductName}-windows-${Target}"
|
||||
|
||||
Install-BuildDependencies -WingetFile "${ScriptHome}/.Wingetfile"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user