feat(@desktop/windows): produce 7z archive when packaging
This commit is contained in:
parent
5ce06a94cc
commit
d4da9b75f0
3
Makefile
3
Makefile
|
@ -431,6 +431,9 @@ endif
|
|||
ifdef WINDOWS_CODESIGN_PFX_PATH
|
||||
scripts/sign-windows-bin.sh $(INSTALLER_OUTPUT)
|
||||
endif
|
||||
echo -e $(BUILD_MSG) "7z"
|
||||
rm $(OUTPUT)/status.iss
|
||||
7z a $(INSTALLER_OUTPUT)/Status.7z ./$(OUTPUT)
|
||||
|
||||
pkg: $(PKG_TARGET)
|
||||
|
||||
|
|
|
@ -31,6 +31,8 @@ pipeline {
|
|||
NIMFLAGS = '--colors:off'
|
||||
/* Control output the filename */
|
||||
STATUS_CLIENT_EXE = "pkg/${utils.pkgFilename('exe')}"
|
||||
/* 7zip archive filename */
|
||||
STATUS_CLIENT_7Z = "pkg/${utils.pkgFilename('7z')}"
|
||||
/* RFC 3161 timestamping URL for DigiCert */
|
||||
WINDOWS_CODESIGN_TIMESTAMP_URL = 'http://timestamp.digicert.com'
|
||||
}
|
||||
|
@ -65,6 +67,8 @@ pipeline {
|
|||
parallel {
|
||||
stage('Upload') {
|
||||
steps { script {
|
||||
zip_url = s3.uploadArtifact(env.STATUS_CLIENT_7Z)
|
||||
jenkins.setBuildDesc(Zip: zip_url)
|
||||
env.PKG_URL = s3.uploadArtifact(env.STATUS_CLIENT_EXE)
|
||||
jenkins.setBuildDesc(Exe: env.PKG_URL)
|
||||
} }
|
||||
|
@ -72,6 +76,7 @@ pipeline {
|
|||
stage('Archive') {
|
||||
steps { script {
|
||||
archiveArtifacts(env.STATUS_CLIENT_EXE)
|
||||
archiveArtifacts(env.STATUS_CLIENT_7Z)
|
||||
} }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue