Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
documentation
website
Commits
5aad9f79
Commit
5aad9f79
authored
2 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
altool is deprecated: use new notarytool instead
parent
65b57a2e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bundle_onelab.sh
+4
-6
4 additions, 6 deletions
bundle_onelab.sh
with
4 additions
and
6 deletions
bundle_onelab.sh
+
4
−
6
View file @
5aad9f79
...
@@ -189,12 +189,10 @@ if [ $# -lt 1 ] || [ $1 == "macosx" ]; then
...
@@ -189,12 +189,10 @@ if [ $# -lt 1 ] || [ $1 == "macosx" ]; then
curl
-O
https://getdp.info/bin/macOS/getdp-
${
GETDP
}
-MacOSXc
.tgz
curl
-O
https://getdp.info/bin/macOS/getdp-
${
GETDP
}
-MacOSXc
.tgz
##curl -O https://getdp.info/bin/macOS/getdp-${GETDP}-MacOSXr.tgz
##curl -O https://getdp.info/bin/macOS/getdp-${GETDP}-MacOSXr.tgz
curl
-O
https://onelab.info/conveks/bin/conveks-
${
CONVEKS
}
-MacOSX
.zip
curl
-O
https://onelab.info/conveks/bin/conveks-
${
CONVEKS
}
-MacOSX
.zip
curl
-O
https://gitlab.onelab.info/gmsh/gmsh/-/raw/master/utils/misc/notarize.py
mv
gmsh-
${
GMSH
}
-MacOSX
.dmg /tmp
mv
gmsh-
${
GMSH
}
-MacOSX
.dmg /tmp
mv
getdp-
${
GETDP
}
-MacOSXc
.tgz /tmp
mv
getdp-
${
GETDP
}
-MacOSXc
.tgz /tmp
##mv getdp-${GETDP}-MacOSXr.tgz /tmp
##mv getdp-${GETDP}-MacOSXr.tgz /tmp
mv
conveks-
${
CONVEKS
}
-MacOSX
.zip /tmp
mv
conveks-
${
CONVEKS
}
-MacOSX
.zip /tmp
mv
notarize.py /tmp
hdiutil convert /tmp/gmsh-
${
GMSH
}
-MacOSX
.dmg
-format
UDTO
-o
/tmp/gmsh-tmp.cdr
hdiutil convert /tmp/gmsh-
${
GMSH
}
-MacOSX
.dmg
-format
UDTO
-o
/tmp/gmsh-tmp.cdr
hdiutil attach
-nobrowse
-noverify
-noautoopen
-mountpoint
gmsh_mount /tmp/gmsh-tmp.cdr
hdiutil attach
-nobrowse
-noverify
-noautoopen
-mountpoint
gmsh_mount /tmp/gmsh-tmp.cdr
tar
zxvf /tmp/getdp-
${
GETDP
}
-MacOSXc
.tgz
-C
/tmp
tar
zxvf /tmp/getdp-
${
GETDP
}
-MacOSXc
.tgz
-C
/tmp
...
@@ -223,7 +221,8 @@ if [ $# -lt 1 ] || [ $1 == "macosx" ]; then
...
@@ -223,7 +221,8 @@ if [ $# -lt 1 ] || [ $1 == "macosx" ]; then
rm
-rf
/tmp/conveks-
*
rm
-rf
/tmp/conveks-
*
# cannot use zip file: it destroys the signature for onelab.py
# cannot use zip file: it destroys the signature for onelab.py
hdiutil create
-srcfolder
onelab-MacOSX onelab-MacOSX.dmg
hdiutil create
-srcfolder
onelab-MacOSX onelab-MacOSX.dmg
python3 /tmp/notarize.py
--package
onelab-MacOSX.dmg
--username
cgeuzaine@ulg.ac.be
--primary-bundle-id
org.geuz.Gmsh
--password
"@keychain:Gmsh Notarization"
xcrun notarytool submit onelab-MacOSX.dmg
--key
/Users/geuzaine/AuthKey_4R6P5NYF3T.p8
--key-id
4R6P5NYF3T
--issuer
69a6de7c-0b3a-47e3-e053-5b8c7c11a4d1
--wait
xcrun stapler staple onelab-MacOSX.dmg
rm
-rf
onelab-MacOSX
rm
-rf
onelab-MacOSX
scp onelab-MacOSX.dmg geuzaine@onelab.info:/onelab_files/
scp onelab-MacOSX.dmg geuzaine@onelab.info:/onelab_files/
fi
fi
...
@@ -235,12 +234,10 @@ if [ $# -lt 1 ] || [ $1 == "macosarm" ]; then
...
@@ -235,12 +234,10 @@ if [ $# -lt 1 ] || [ $1 == "macosarm" ]; then
curl
-O
https://getdp.info/bin/macOS/getdp-
${
GETDP
}
-MacOSARMc
.tgz
curl
-O
https://getdp.info/bin/macOS/getdp-
${
GETDP
}
-MacOSARMc
.tgz
##curl -O https://getdp.info/bin/macOS/getdp-${GETDP}-MacOSARMr.tgz
##curl -O https://getdp.info/bin/macOS/getdp-${GETDP}-MacOSARMr.tgz
curl
-O
https://onelab.info/conveks/bin/conveks-
${
CONVEKS
}
-MacOSARM
.zip
curl
-O
https://onelab.info/conveks/bin/conveks-
${
CONVEKS
}
-MacOSARM
.zip
curl
-O
https://gitlab.onelab.info/gmsh/gmsh/-/raw/master/utils/misc/notarize.py
mv
gmsh-
${
GMSH
}
-MacOSARM
.dmg /tmp
mv
gmsh-
${
GMSH
}
-MacOSARM
.dmg /tmp
mv
getdp-
${
GETDP
}
-MacOSARMc
.tgz /tmp
mv
getdp-
${
GETDP
}
-MacOSARMc
.tgz /tmp
##mv getdp-${GETDP}-MacOSARMr.tgz /tmp
##mv getdp-${GETDP}-MacOSARMr.tgz /tmp
mv
conveks-
${
CONVEKS
}
-MacOSARM
.zip /tmp
mv
conveks-
${
CONVEKS
}
-MacOSARM
.zip /tmp
mv
notarize.py /tmp
hdiutil convert /tmp/gmsh-
${
GMSH
}
-MacOSARM
.dmg
-format
UDTO
-o
/tmp/gmsh-tmp.cdr
hdiutil convert /tmp/gmsh-
${
GMSH
}
-MacOSARM
.dmg
-format
UDTO
-o
/tmp/gmsh-tmp.cdr
hdiutil attach
-nobrowse
-noverify
-noautoopen
-mountpoint
gmsh_mount /tmp/gmsh-tmp.cdr
hdiutil attach
-nobrowse
-noverify
-noautoopen
-mountpoint
gmsh_mount /tmp/gmsh-tmp.cdr
tar
zxvf /tmp/getdp-
${
GETDP
}
-MacOSARMc
.tgz
-C
/tmp
tar
zxvf /tmp/getdp-
${
GETDP
}
-MacOSARMc
.tgz
-C
/tmp
...
@@ -269,7 +266,8 @@ if [ $# -lt 1 ] || [ $1 == "macosarm" ]; then
...
@@ -269,7 +266,8 @@ if [ $# -lt 1 ] || [ $1 == "macosarm" ]; then
rm
-rf
/tmp/conveks-
*
rm
-rf
/tmp/conveks-
*
# cannot use zip file: it destroys the signature for onelab.py
# cannot use zip file: it destroys the signature for onelab.py
hdiutil create
-srcfolder
onelab-MacOSARM onelab-MacOSARM.dmg
hdiutil create
-srcfolder
onelab-MacOSARM onelab-MacOSARM.dmg
python3 /tmp/notarize.py
--package
onelab-MacOSARM.dmg
--username
cgeuzaine@ulg.ac.be
--primary-bundle-id
org.geuz.Gmsh
--password
"@keychain:Gmsh Notarization"
xcrun notarytool submit onelab-MacOSARM.dmg
--key
/Users/geuzaine/AuthKey_4R6P5NYF3T.p8
--key-id
4R6P5NYF3T
--issuer
69a6de7c-0b3a-47e3-e053-5b8c7c11a4d1
--wait
xcrun stapler staple onelab-MacOSARM.dmg
rm
-rf
onelab-MacOSARM
rm
-rf
onelab-MacOSARM
scp onelab-MacOSARM.dmg geuzaine@onelab.info:/onelab_files/
scp onelab-MacOSARM.dmg geuzaine@onelab.info:/onelab_files/
fi
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