Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
resinfo-gt
swmb
resinfo-swmb
Commits
67f5c2e3
Commit
67f5c2e3
authored
May 04, 2022
by
Gabriel Moreau
Browse files
Add CI for standalone Kaspersky
parent
cf71e79d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
.gitlab-ci.yml
.gitlab-ci.yml
+4
-1
package.nsi
package.nsi
+1
-1
No files found.
.gitlab-ci.yml
View file @
67f5c2e3
...
...
@@ -18,14 +18,17 @@ pages:
-
mv dists/ocs-inventory/SWMB-OCS-*.zip public/
-
(cd dists/wapt/; make)
-
mv dists/wapt/SWMB-WAPT-*.zip public/
-
(cd dists/uninstall-kaspersky/; make zip)
-
mv dists/uninstall-kaspersky/Kasperky-Uninstall-*.zip public/
-
rm -f public/SWMB-*-Latest.*
-
(cd public/; ln -sf $(ls -1t SWMB-Setup-*.exe | head -1) SWMB-Setup-Latest.exe)
-
(cd public/; ln -sf $(ls -1t SWMB-OCS-*.zip | head -1) SWMB-OCS-Latest.zip)
-
(cd public/; ln -sf $(ls -1t SWMB-WAPT-*.zip | head -1) SWMB-WAPT-Latest.zip)
-
(cd public/; ln -sf $(ls -1t Kasperky-Uninstall-*.zip | head -1) Kasperky-Uninstall-Latest.zip)
-
echo '<html><body><h1>SWMB Setup and OCS / WAPT (zip) Package (last update ' $(date '+%Y/%m/%d %H:%M') ')</h1><ul>' > public/index.html
-
(cd public; while read file; do printf '<li><a href="%s">%s</a> (%s)</li>\n' $file $file $(stat -c %y $file | cut -f 1 -d ' '); done < <(ls -1t *.exe *.zip) >> index.html)
-
echo '</ul></body></html>' >> public/index.html
-
(cd public ; tar --exclude '*-Latest.*' -czf ../download.tar.gz SWMB-Setup-*.exe SWMB-OCS-*.zip SWMB-WAPT-*.zip)
-
(cd public ; tar --exclude '*-Latest.*' -czf ../download.tar.gz SWMB-Setup-*.exe SWMB-OCS-*.zip SWMB-WAPT-*.zip
Kasperky-Uninstall-*.zip
)
-
mv download.tar.gz public/
-
mkdir -p public/docs
-
make doc
...
...
package.nsi
View file @
67f5c2e3
...
...
@@ -21,7 +21,7 @@ Unicode True
!insertmacro GetOptions
!define NAME "SWMB"
!define VERSION "3.13.84.
1
"
!define VERSION "3.13.84.
2
"
!define DESCRIPTION "Secure Windows Mode Batch"
!define PUBLISHER "CNRS France, RESINFO / GT SWMB"
!define PUBLISHERLIGHT "CNRS France"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment