Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
prod_build_cellframe-dashboard
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
prod_build_cellframe-dashboard
Commits
618bdbb9
Commit
618bdbb9
authored
1 year ago
by
Dmitry Puzyrkov
Browse files
Options
Downloads
Patches
Plain Diff
...
parent
5ced1628
No related branches found
Branches containing commit
No related tags found
3 merge requests
!63
Features 12647m
,
!62
Release 3.0
,
!60
Features 12104
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packaging/windows.sh
+36
-0
36 additions, 0 deletions
packaging/windows.sh
with
36 additions
and
0 deletions
packaging/windows.sh
+
36
−
0
View file @
618bdbb9
...
...
@@ -9,6 +9,31 @@ else
HERE
=
`
dirname
${
CMD
}
`
fi
EXE_SIGN_POSSIBLE
=
1
if
[
-z
"
$WIN_CERT_PATH
"
]
then
echo
"No WIN_CERT_PATH provided. EXE will NOT be signed"
EXE_SIGN_POSSIBLE
=
0
fi
if
[
-z
"
$WIN_KEY_PATH
"
]
then
echo
"No WIN_KEY_PATH provided. EXE will NOT be signed"
EXE_SIGN_POSSIBLE
=
0
fi
if
[
-z
"
$WIN_NAME
"
]
then
echo
"No WIN_NAME provided. EXE will NOT be signed"
EXE_SIGN_POSSIBLE
=
0
fi
if
[
-z
"
$WIN_URL
"
]
then
echo
"No WIN_URL provided. EXE will NOT be signed"
EXE_SIGN_POSSIBLE
=
0
fi
PACK
()
{
...
...
@@ -18,7 +43,18 @@ PACK()
ARCH
=
$(
dpkg
--print-architecture
)
source
"
${
HERE
}
/../version.mk"
PACKAGE_NAME
=
"cellframe-dashboard_
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
.
${
VERSION_PATCH
}
_amd64.exe"
PACKAGE_NAME_SIGNED
=
"cellframe-dashboard_
${
VERSION_MAJOR
}
.
${
VERSION_MINOR
}
.
${
VERSION_PATCH
}
_amd64-signed.exe"
makensis
${
DIST_DIR
}
/build.nsi
mv
${
DIST_DIR
}
/
*
installer.exe
${
OUT_DIR
}
/
${
PACKAGE_NAME
}
if
[
"
$EXE_SIGN_POSSIBLE
"
-eq
"1"
]
;
then
echo
"Signig
$PACKAGE_NAME
to
$PACKAGE_NAME_SIGNED
"
cd
${
OUT_DIR
}
osslsigncode sign
-certs
"
${
WIN_CERT_PATH
}
"
-key
"
${
WIN_KEY_PATH
}
"
-n
"
${
WIN_NAME
}
"
-i
"
${
WIN_URL
}
"
-in
"./
${
PACKAGE_NAME
}
"
-out
./
${
PACKAGE_NAME_SIGNED
}
rm
${
PACKAGE_NAME
}
fi
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment